• 1 Post
  • 10 Comments
Joined 1 year ago
cake
Cake day: July 6th, 2023

help-circle








  • Sam@sh.itjust.workstoProgrammer Humor@lemmy.mlwhy not a,b or x,y?
    link
    fedilink
    arrow-up
    85
    arrow-down
    1
    ·
    1 year ago

    When I’m doing coding interviews I always like to start off and say I’m a big fan of very long variable names. “As descriptive as you can be” I say. Then I get to my first for loop. Instead of i I use “iterator” and then when I start a nested loop I use “jiterator” and it always gets a laugh.



  • My last world used 1-4 train cars on a two way rail network arranged in a grid, with train station limits and circuits controlling the station to only be on when it had the right amount of resources. (Whether that be enough resources for an output station or low enough resources in an input station) this was enough to easily handle somewhere near 700 trains traveling between around 800 stations supplying a modular factory that sustained 5.6k spm. I stopped that file due to performance restraints, the train network was capable of much more. On my new space exploration play through I think I’ll stick with the same.