[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vr / w / wg] [i / ic] [r9k / s4s / vip / qa] [cm / hm / lgbt / y] [3 / aco / adv / an / asp / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / qst / sci / soc / sp / tg / toy / trv / tv / vp / wsg / wsr / x] [Settings] [Search] [Home]
Board
Settings Home
/g/ - Technology


Thread archived.
You cannot reply anymore.



File: V1.jpg (29 KB, 705x397)
29 KB
29 KB JPG
> having to define all functions on top of script
> actual code is all they way at the bottom

For files where you don't want to outsource the functions to separate files, this is fucking annoying.

In java, you just put all your methods/functions below so that they don't jump in the main focus when looking through the code. If I need to look up what a method does, I can scroll down.
>>
lol just scroll down
>>
>>71355255
Oh wow another Python is shit thread. We get it, it's shit we know it's shit now fuck off.
>>
def main():
...


...


if __name__ == '__main__':
main()



Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.