Swooping

  • 2 Posts
  • 29 Comments
Joined 4 years ago
cake
Cake day: July 31st, 2020

help-circle






  • This is a much less extreme example, but I still feel it illustrates the point:

    I don’t think a 2h old comment with no upvotes (beside the auto-upvote for new comments) should place above an 8h old comment with 4 upvotes. Whether a 4h old comment with half the upvotes of an 8h old comment should place above the latter is more debatable.

    I’d like to find an example with higher numbers in a 24h window but that’s hard to come by at this time.



  • I sympathise with the syntax often getting in the way. On the flip side I find untyped languages opaque, leaving me to guess what code actually does. Lisps are a great offender because macros, syntactic primitives and functions look the same but behave differently, and without type signatures it becomes a mess.

    The thing with type systems is that they only reveal the gestalt of something that’s already there. All languages have types. It’s just that many don’t bother to correct you.

    I tried to write a language parser in Guile, but when I couldn’t figure out what the different data structures actually looked like I eventually gave up.


  • The most confusing part of flakes is that it isn’t the default, but sort of defacto is because so many use it (myself included). At this point I feel it should be the default. The installation process doesn’t use the flakes feature so it has to be worked around and it isn’t straight forward.

    Nix(OS) has a case of expert user base that aren’t motivated enough to make it easier for those unfamiliar with the concepts to get going.

    Nix makes more sense if you understand referential transparency and functional programming. Even then, how a lot of nix expressions are written is quite confusing with all the self-recursive overrides, functions that are somehow also sets etc.

    The best documentation and tutorials are probably somewhere other than in the official ones (though official documentation is not bad). Nix Pills and the wiki, especially.



  • I suffer from it too.

    For programming I’ve found that the more strongly typed a language is, the less I have to worry about keeping in mind. Being able to offload a lot of basic soundness checks to the computer saves me when I lose track and allows me to focus on smaller components without having to worry about messing something else up elsewhere.

    That’s about it, though, in terms of life pro tips from me. I end up having to rely on others to complete some trains of thought as I seem to get stuck at an early stage of thinking something through. That means I often start a conversation with an impression or opinion that I’ll have revised by the end of it due to factors I hadn’t considered.