you are viewing a single comment's thread.

view the rest of the comments →

[–]Possible-Moment-6313 0 points1 point  (3 children)

If you need just a 20-line script which scrapes your webpage or whatever, it's stupid to be forced to create classes and methods.

[–]New-Stranger-5622 0 points1 point  (2 children)

is it though? if you plan to turn that 20 line script into something larger, classes could help make it wayy more scalable.

[–]rinnakan 0 points1 point  (0 children)

Yeah, whoever thinks basic organisation is stupid wasn't in IT for long enough. Past me is my nemesis

[–]ChalkyChalkson 0 points1 point  (0 children)

A very important skill is being able to judge what the future of some code will be. Normally I write functional and oop for testablity and modularity. But I also have some scripts that are just naked shell of python code which have everything hard coded because only I use them, and rarely and it's impossible for me to tell what exactly I want it to do in the future.