• 0 Posts
  • 100 Comments
Joined 2 years ago
cake
Cake day: December 30th, 2023

help-circle
















  • Similarly, make your methods short - really, really short. If you have 10 lines of code and put them each in their own method, great! Maybe it isnt the fastest code to read - but readable method names will make it obvious what each line does, and combining independent methods together is far easier than breaking one massive method into chunks.

    I agree with a lot you said and this reads like advice straight from Robert Martins “Clean Code”, but I’ve recently read a discussion between him and John Ousterhout, where John makes compelling arguments for longer, “deeper” functions. I found the discussion very interesting and actually started reading “A Philosophy of Software Design” shortly after. Would recommend!


  • Allegedly, backups simply couldn’t be kept, due to the G-Drive system’s massive capacity.

    X Doubt. Things like S3 can also store massive amounts of data and still support backups or at least geo replication. It’s probably just a matter of cost.

    But it gets worse. It turns out that before the fire, the Ministry of the Interior and Safety had apparently instructed government employees to store everything in the G-Drive cloud and not on their office PCs.

    Which is totally fine and reasonable? The problem isn’t the order to use the centralized cloud system, but that the system hasn’t been sufficiently secured against possible data loss.