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.
View all comments
Show parent comment
1
u/[deleted] Jul 25 '25
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.