• 2 Posts
  • 31 Comments
Joined 2 years ago
cake
Cake day: June 21st, 2023

help-circle





  • So I’m going to say what I always say when people complain about semantic whitespace: Your code should be properly indented anyway. If it’s not, it’s a bad code.

    I’m not saying semantic whitespace is superior to brackets or parentheses. It’s clearly not. But it’s not terrible either.

    As someone who codes in Python pretty much everyday for years, I NEVER see indentation errors. I didn’t see them back when I started either. Code without indentation is impossible to read for me anyway so it makes zero difference whether the whitespace has semantic meaning or not. It will be there either way.











  • sajran@lemmy.mltoLemmy Shitpost@lemmy.worldThe golden years
    link
    fedilink
    arrow-up
    35
    arrow-down
    3
    ·
    2 years ago

    I heard this opinion many times and I couldn’t disagree more. I hated school and I much prefer my adult, working life. In fact I feel like my life only gets better as time goes by.

    Granted, I’m privileged to have a well paying job I actually enjoy, which probably makes a world of a difference.


  • Of course, this can be confusing, but wouldn’t every single language have some confusing parts? As a non native English speaker who tried to learn other languages (without much success for now) I find English to be actually rather easy.

    What would you propose as an easier alternative for a “universal” language?