• 1 Post
  • 264 Comments
Joined 1 year ago
cake
Cake day: July 25th, 2024

help-circle







  • I was plenty good at maths up to the point where I couldn’t study more (as in, my other subject choices locked me out of taking the next stage, A-level). However in general I found the more complex stuff abstract and characterless.

    For example statistics bored me. We’re working out the upper quartile something something? To what end?

    I’ve used maths for accounts, programming, carpentry, and so forth, but that’s always been fairly basic stuff. The more advanced stuff has never been of the slightest value to me (I still don’t know why I, a layman, should give a shit about factorisation, prime numbers, happy numbers, etc…). I am not saying that it has no value - simply that to me personally it might as well be memorising the principles behind a naming scheme for shades of grey paint. I can learn the principles and they make sense, but so what?

    I pretty much felt the same way about the higher levels of chemistry. Oh these are ionic bonds? Okay…?

    My teachers were excellent and enthusiastic (my entire maths class got the highest grade possible, myself included) but I don’t really see what there is to like. I didn’t dislike it, I was just indifferent. The easier stuff could be like a basic puzzle game, the more complex stuff I could apply the system I learned and provide the correct, if pointless, answer.

    It felt like being taught someone else’s complex system for sorting different sizes of white paper, I suppose I could say.





  • I started doing CS50 way back when and pretty much bailed when it got to C. I could understand it but it felt like I had to build the entire universe to do the simplest of things.

    I like that with Python I can knock something together quickly enough to justify the time it takes. Having to do something manual and repetitious at work? Knock out a Python script to make it less error prone in future. If it took a lot of time I’d just have to suck it up and suffer through.





  • I would argue it’s because it is Good Enough. The most popular solutions to things are rarely the optimum ones but the ones that are generally applicable.

    For example, I could fight with bash’s unpleasant syntax or I could do it more easily (but less efficiently) with Python. Would it be as performant? Absolutely not - but the performance gains wouldn’t be worth the time and maintainability.




  • Similarly I find it very useful for if I’ve written a tool script and really don’t want to write the command line interface for it.

    “Here’s a well-documented function - write an argparser for it”

    …then I fix its rubbish assumptions and mistakes. It’s probably not drastically quicker but it doesn’t require as much effort from me, meaning I can go harder on the actual function (rather than keeping some effort in reserve to get over the final hump).