• 3 Posts
  • 48 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*Permanently Deleted*
    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!





  • 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…




  • 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?




  • I just don’t think the majority of people are motivated enough. I have met many people who have no hobbies and no ambitions and just don’t want to do anything productive. They would like to spend their entire lives playing video games or partying or something similar.

    And this is just about the lack of motivation, but what about malicious actors? People who would sabotage other’s efforts or try to profit in an unfair way? How would you ensure this won’t happen?

    What about shitty and unpleasant but necessary jobs no one wants to do?

    The idea that once you remove the money everyone will suddenly feel the desire to serve the society is bonkers. Don’t get me wrong, I don’t love capitalism. I want to believe the world like that is possible, I really do, but I just can’t see it working. I live in a society where I have to use a 3 kg bike lock in order not to lose my bike and even then I have to detach the $10 light and take it with me because otherwise it won’t be there when I come back. I have zero trust and belief that such society can magically self organize and work together towards a common happiness.


  • In such a system, people work on what they want, when they want, and provide for society because it’s their true desire.

    I find it kinda hard to believe that people would be able to achieve the level of organization and would be willing to put in the effort required just by doing what they want when they want, without any outside incentive. I’m not talking about a painting or a book, that’s why I specifically mentioned things requiring large investments. And by investment I didn’t mean just money but time and effort in general.