• 2 Posts
  • 32 Comments
Joined 1 year 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.








  • Thanks!

    To be honest I really like the aesthetics of keycaps without labels and I will probably change to those eventually. However, I wanted to play it safe for now considering the fact that it’s my first time with a keyboard like this.

    It will definitely be 99% stationary but I think I will need to figure out a way to safely travel with it a few times a year since typing on a laptop keyboard feels like a torture now…








  • I see that Framework and System76 were already mentioned. I would add Slimbook and Tuxedo Computers to the list.

    I was just in a market for a Linux laptop and I really wanted a Framework but it’s not available in my country so I settled on Slimbook Executive 14 instead. I have it for around a month now and I’m very satisfied.


  • Off topic but I’m surprised by the amount of smart tv hate in this thread.

    I have a Philips TV with Android TV. I use it for YouTube, Twitch, Spotify and occasionally for other streaming services. I actually really like the experience. Everything is a few clicks on a remote away, the UI is clean, it works reasonably fast.

    I’m not going to argue about privacy though, that’s definitely terrible.




  • A vast majority of the code in question is the code I’ve written for my work projects with multiple active contributors and refactoring is very common too. We all like to shit on Python for various reasons but no one in my environment ever complained about whitespace.

    Like I said, I don’t think whitespace is perfect as a part of syntax but I’m much more likely to forget a semicolon than a proper indentation and this applies to any language. I guess it’s not universal tough, because you can often see code with messed up indentation on online forums etc. TBH this is just unthinkable to me, indentation is absolutely necessary for me to be able to read code and reason about it. When I’m thinking about blocks and scopes it’s not because I counted semicolons and braces, it’s 100% indentation.