Text
Freedom Through Code
People always tout the career-related benefits of learning to code, but something I've noticed in my years writing it is that there's a sense of freedom that comes with it. I can just like, do things that I want or need to do. Learning some basic Python opened up so many doors for me, if I wanted to know something or if I wanted to do something I could just do it myself. Some examples:
Need to rename a ton of files (like removing something that a converter added to the file name)? Just use a for loop!
Need to convert a list of text from one format to another? (like point form list to a CSV that excel can use) Just use string.split and some slicing to rejoin everything.
Writing a math proof and need to come up with a counterexample for something? Just brute-force it if the case is based on integers. (very helpful for modular arithmetic problems)
Need to do a task that's actually like 9 really different steps? You can usually just write a program to do it in 15 minutes.
Doing a really complicated math problem and want to be able to check you punched a number in? Desmos works great, but if you need to use custom functions that aren't supported, just write it all up in Python. You might run into some small floating point weirdness, but it'll be minor enough to ignore.
There are a TON of tools online that you can make yourself in the Python shell faster than you could google and find them. Even if you never want to touch the computer science space with a 10 foot pole, learning major skills like this grants you a unique kind of freedom that you can only achieve by turning an arcane space into one that's just foggy.
9 notes
·
View notes