• 0 Posts
  • 16 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.







  • The machine didn’t learn anything, just executed your orders.

    Imagine that you sit with your grandma in front of a PC (and let’s assume she’s not a SE). You fire up a terminal, give her the keyboard and dictate every keystroke necessary to write and execute a program (or do any other task for that matter). Does that mean that your grandma just learned programming? I think not. Learning implies being able to find and apply some rules which where not explicitly given.