[ 3 / biz / cgl / ck / diy / fa / g / ic / jp / lit / sci / tg / vr ] [ index / top / reports / report a bug ] [ 4plebs / archived.moe / rbt ]

2017/01/28: An issue regarding the front page of /jp/ has been fixed. Also, thanks to all who contacted us about sponsorship.

/g/ - Technology

View post   

[ Toggle deleted replies ]
File: 29 KB, 705x397, V1.jpg [View same] [iqdb] [saucenao] [google] [report]
71355255 No.71355255 [Reply] [Original] [archived.moe] [rbt]

> 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.

>> No.71355726

lol just scroll down

>> No.71358082

Oh wow another Python is shit thread. We get it, it's shit we know it's shit now fuck off.

>> No.71358141

def main():


if __name__ == '__main__':

Name (leave empty)
Comment (leave empty)
Password [?]Password used for file deletion.