• 1 Post
  • 113 Comments
Joined 2 years ago
cake
Cake day: June 25th, 2023

help-circle


  • I think you’re saying the same thing as what I am. If it’s more complex than what you may think, the language should guard against it. If not, it should make it simple.

    Rust, for example, is the only mainstream language where it isn’t possible to read from a file handle after it’s been closed. Doing so is a compilation failure. This is just a general invariant of “how to use files”.

    But you also don’t need to think about allocating or deallocating memory in Rust. It does that fke you automatically, even though it’s not GC.

    JS can also be complicated when it tries to hide realities about the world. E.g. is a const array or object immutable? No, the pointer is. But pointers don’t exist! /s








  • Might be because of tax brackets and not knowing ahead of time if you’re getting a raise. E.g. maybe you are the top of some bracket for most of the year, and youre on track for not surpassing it by the end of the year. Then you get a raise near the end and it bumps you over.

    Should they take a huge amount off your last couple payslips? Or just let you pay it in taxes later?

    Might be better for some people to pay via taxes instead of automatically losing the money for that month.

    Just a guess though.