• 2 Posts
  • 72 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.






  • sajran@lemmy.mltoShowerthoughts@lemmy.world.........
    link
    fedilink
    English
    arrow-up
    8
    arrow-down
    1
    ·
    7 months ago

    US has a huge influence on the entire world. Could it be that it started (or got amplified) in the US due to poor healthcare and then spread out to the rest of the world? I’m not trying to put all the blame on US of course, but it doesn’t sound that unreasonable that it could be partially responsible.




  • When I receive a notification I don’t need to switch away from my editor to check it, I just glance to the left and continue with my work or react if needed. Constantly switching windows in front of me would be so much more distracting for me.

    Also, being able to read docs and google stuff on a vertical monitor on the right, while still seeing the code in front of me is incredibly convenient. Again, I can’t imagine switching away from my editor to the docs and to the code again.

    I need to be able to effortlessly switch attention between code, tests, logs, docs, notifications. If I can’t do that by just shifting my sight in the right direction, my brain doesn’t function.

    It’s so interesting how different people are!



  • I’m pretty sure I have aphantasia. My mom, on the other hand, is an artist with very powerful imagination. She would often tell me how she sees something she’s imagining and I never really knew what she meant. I just assumed that it’s kinda a figure of speech. Only when I first read about aphantasia I realized that it probably really works completely differently for her.

    I would like to know whether aphantasia has any practical impact on one’s life. For example, I had this suspicion that differences in my “mental image processing pipeline” might be a factor in my terrible driving skills. Quick visual assessment of the traffic situation, at an intersection for instance, is very hard for me. This is just me making stuff up though, no idea if it makes any sense. In fact, I think I’m going to research this topic and look for some papers now!