• 0 Posts
  • 858 Comments
Joined 3 years ago
cake
Cake day: June 16th, 2023

help-circle








  • I’m currently reviving a personal iOS project that I last worked on almost 10 years ago. At the time, I was working under a (much younger) tech lead who was a firm advocate of the “all comments are bad” philosophy and reported me to management as being technically incompetent because I commented my code. Thank god I’m technically incompetent because there’s no fucking way I could be making any sense of my 10-year-old code without those comments.

    Somebody here is probably going to reply that nobody literally thinks all comments are bad, but I assure that you such people do exist in this profession.





  • I wrote mobile apps for Blackberry back in the day. As part of their security fixation, all library modules you incorporated had to be signed as your app was compiling, even if you were just testing out a single line change. This could make your app take upwards of a whole hour to sign, if the signing servers were even up and running at all; they were often down completely which meant I could go home and get high instead of working. Which is why I never badmouthed Blackberry to my bosses.

    The absurdity of having every module signed meant that I had to think long and hard about whether I wanted to use built-in library functionality or just roll my own code. For one UI I needed to use trigonometry functions. These were located (logically or not) in one of the encryption modules which were especially prone to taking a long time to sign, so I ended up writing my own sin()function (in Java) just to save myself ten minutes of compilation time.