• 0 Posts
  • 36 Comments
Joined 1 year ago
cake
Cake day: June 7th, 2025

help-circle










  • Type is more important? So if the first argument of a function is minAge, which is an int, the important part is that it is an int? Just feed it any int?

    No, the important part is the meaning, what the variable actually is, if you use a compiled language the compiler will handle types for you anyway. You’ll get a error if you feed it a string, or an water heater object, no surprises.

    Leave the machine work to the machine (compiler in this case), and concentrate on the real work, which is the meaning here.




  • Yoddel_Hickory@piefed.catoLemmy Shitpost@lemmy.world•Engine auto-off
    link
    fedilink
    English
    arrow-up
    11
    arrow-down
    2
    ·
    4 months ago

    Turning on and off increases wear in cars not designed for it. The cars that have the feature have beefy starters, it is a non-issue. And it does save a bit of gas and emissions at red lights, and stopped in traffic, and especially for assholes that leave the car on while their partner goes for a “quick” grocery run.



  • Yoddel_Hickory@piefed.catome_irl@lemmy.world•me irl
    link
    fedilink
    English
    arrow-up
    17
    ·
    4 months ago

    No lol.

    I know 21 °C is confortable for a room, no idea if it is even survivable in a pool.

    I know I bake cookies at 350 °F, don’t even know if it boils water.

    As with most things, blame the Conservative government who stopped metrification a while ago.