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

help-circle

  • 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.








  • ChickenLadyLovesLife@lemmy.worldtoComic Strips@lemmy.worldvibe construction
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    1
    ·
    12 days ago

    It’s funny, but there has long been a paradigm in programming called test-driven development or TDD. The idea is that you have a small number of experienced developers who write a suite of tests that an application has to pass, and then you let an army of newbies write whatever the hell they feel like writing and if their code passes the tests it goes into the application (somewhat snarky summary but not entirely). In my experience it does not produce solid applications but a large fraction of the programming world swears by it. I’ve always thought that the construction analog of TDD would be letting a bunch of inexperienced workers build houses and then the experienced contractors drive around in bulldozers knocking down anything that happens to not be built well enough.








  • I’ve had exactly one gambling experience in my life. I went with some friends to a casino in Louisiana and I tried a slot machine. I stuck my credit card in the slot, was debited $5, pushed the “lever” button, and won exactly bupkis. I don’t know what the appeal is but I imagine it involves winning occasionally. I’m going to stick with my 0.000 batting average and be happy.