• 0 Posts
  • 11 Comments
Joined 1 year ago
cake
Cake day: September 29th, 2023

help-circle
  • I’ve definitely had it hallucinate a feature sending me on a red herring hunt on several occasions now… Sometimes I wish I’d just used StackOverflow to begin with, but then with StackOverflow I sometimes wish I’d just read the documentation to begin with.

    Alas, it won’t be a hit 100% of the time and will occasionally send you the long way round. Just like StackOverflow. But even despite this property, nobody would tell you to NEVER use StackOverflow because it SOMETIMES takes way too long to find the answer to a question easily glanced from the docs.




  • Imagine getting hung up on something as trivial as a switch statement. Which is more poignant, I ask you?

    switch(var){
       case 1: 
          <code>;
          break;
       case 2: 
          <code>;
          break;
       case 3: 
          <code>;
          break;
       default:
          <code>
    }
    

    or

    if var == 1:
       <code>
    elif var == 2:
       <code>
    elif var== 3:
       <code>
    else:
        <code>
    

    The performance difference is absolutely negligible, but now you’ve introduced a bunch of unnecessary indentation (for no benefit) that’s gonna get hard to read should you even add a little bit of additional logic, and a footgun with all the break; s.

    And then in JS the syntax for the case-blocks isn’t even consistent with the rest of the language.</code></code></code></code></code></code></code></code>




  • herr@lemmy.worldtoProgrammer Humor@lemmy.ml*Permanently Deleted*
    link
    fedilink
    arrow-up
    10
    arrow-down
    3
    ·
    edit-2
    1 year ago

    Huh? The Python Stacktrace is great. What kinda fucked up library were you using that it prints the error code instead of raising an exception?!

    Also don’t think outdated library docs are a fault of Python 😅 In much the opposite way, I’ve found Python’s standard library to be really great, reducing the number of random third party libraries needed. (Looking at you, JavaScript)





  • But definitely one of the biggest factors that should be considered is how assholeish the community around a particular language is.

    I think all of the factors you’ve mentioned are extremely valid, but this is the one factor that I think should absolutely not count into whether something’s a ‘good’ or ‘bad’ language. If I’m choosing which technologies to use for my next project, the question of whether it has a rude vocal minority in its community is AS FAR DOWN on my list as possible. Right next to whether its name is hip or whether their homepage is engaging.