• 16 Posts
  • 1.52K Comments
Joined 1 year ago
cake
Cake day: June 24th, 2023

help-circle




  • I’m a long time Java developer who was recently moved to a project written in Go. All I can say is: What. The. Fuck. I swear, the people who designed the syntax must have been trying to make every wrong decision possible on purpose as a joke. The only think I can think of is that they only made design decisions on the syntax while high on shrooms or something.

    Like, why in the actual fuck does the capitalization of a function change the scope??? Who thought that was a good idea? It’s not intuitive AT ALL. Just have a public/private keyword.














  • Dandroid@dandroid.apptoStar Wars Memes@lemmy.worldNot Sparks.
    link
    fedilink
    English
    arrow-up
    9
    arrow-down
    1
    ·
    5 months ago

    I was a kid when the prequels came out. I remember the hate for them, but most of my friends that were my age all loved them, as did I.

    I think people tend to like what they grew up with and dislike what comes out when they are older.

    You can see this pattern in Pokemon games as well. I grew up with gen 2 and gen 3. When gen 4 came out, it seemed like everyone hated it. Same with gen 5. But now most people act like gen 5 was the last good one.


  • It can be really dangerous for some programs. I don’t know too much about Windows, but in Linux, if we try to close a program once, it sends SIGTERM (or SIGINT, I can’t remember right now), which basically asks your program to stop. You program can receive that signal and finish things up and exit cleanly. But if your program is deadlocked and can’t handle that right now, closing the program again sends it a SIGKILL, which is basically the OS saying, “Get fucked. You’re done whether you like it or not.”