• 0 Posts
  • 42 Comments
Joined 1 year ago
cake
Cake day: June 12th, 2023

help-circle

  • sping@lemmy.sdf.orgtoProgramming@programming.devWhy is Go syntax so messy
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    4
    ·
    17 days ago

    I’m not triggered by any of this. I’m not sure why my thinking the question is inane would count as “being triggered”.

    Upvotes does not necessarily mean people agree with OP’s stance.

    It should mean they think it’s a useful/interesting question and I think it very much is not. It’s just someone whining that it doesn’t look like something they’re used to and a bunch of very patient people generously leading them through the very basics of the language that’s well covered in many introductory tutorials - as such it makes it all a waste of time and worthy of being buried.


  • sping@lemmy.sdf.orgtoProgramming@programming.devWhy is Go syntax so messy
    link
    fedilink
    English
    arrow-up
    8
    arrow-down
    14
    ·
    17 days ago

    The more time I spend on Lemmy the more depressed I am about its potential.

    Stupid, wrong-headed comments get solid upvotes if they also hint at some popular sentiment. I even see comments that are literally unreadable nonsense get solidly upvoted, either by bots or by people who just like the vibe they feel from scanning it and don’t care that it’s gobbledygook. Some content makes me wonder if half of Lemmy is just LLMs barfing back and forth at each other.

    Then this post is heavily upvoted, even though it’s nothing more than “the syntax isn’t the same as the other language(s) I have seen, waaaaa!”. Is it just people like to see Go criticized? Because there are actual real issues that could be discussed.





  • My guess at the stance is I’d imagine it’s that switching away from snaps is switching away from Ubuntu’s support and security monitoring and updates to some less known/reliable/diligent third party?

    Popey (Alan Pope) used to work for Canonical / Ubuntu, so he’s presumably not inclined to jump on the bandwagon of Canonical/Ubuntu/snap hate since he knows a lot of Canonical and Ubuntu people and their motivations and work. Not that there aren’t good reasons to criticize snap or other Canonical decisions, but it’s also plain that a lot of people just join a hate bandwagon and don’t even know what about it they object to. There is masses of wrong-headed criticism of Canonical out there e.g. I’ve frequently seen people criticize creating Upstart, saying Canonical should have used systemd, or bzr vs git! Presumably these people were annoyed at Canonical for not inventing a time machine.


  • But use type annotations everywhere and make sure your code is always checker clean (with checkin or PR CI hooks). And don’t turn off any lint checks through laziness, e.g. docstring checks. Even for a solo dev it’s always worth having everything typed, checker clean, and docstrings (even if they only effectively say “this thing really is what you’d assume”). It all saves time and effort in the long and even medium term.

    I’ve worked on serious large scale Python projects and frankly it’s been very pleasant and productive, but only with the above conditions.