top 50 comments

sorted by: hot top controversial new old
[–] 92 points 2 years ago (3 children)

Python has to be another clown with their error messages

  • source
  • hideshow 6 child comments
  • [+] 82 points 2 years ago* (last edited 2 years ago) (9 children)
  • [–] 31 points 2 years ago (1 child)

    I started as a python enjoyer. 6 years later I can confidently say fuck dynamic typing, fuck mutable defaults.

    Also fuck python and js (used both for work) TS is better but we all know it's not by much

  • source
  • parent
  • hideshow 2 child comments
  • [–] 15 points 2 years ago (2 children)

    TS is “better” but often I feel like just configuring typescript takes up a significant amount of the time you save by using it.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 5 points 2 years ago (1 child)

    It gets easier the more you do it but ts needed a default official config to start things up with.

  • source
  • parent
  • hideshow 2 child comments
  • load more comments (1 reply)
  • load more comments (7 replies)
  • [–] 27 points 2 years ago (1 child)

    Most python error messages are pretty straightforward so I legitimately don't know what you're talking about

  • source
  • parent
  • hideshow 2 child comments
  • [–] 26 points 2 years ago

    I was gonna say, next to C++ you better don't shame other languages for their errors. Otherwise I wish you some "fuck you: error in library used in library used in template of template:: some template object is not correct type of template obejct"-type bullshit.

  • source
  • parent
  • [–] 19 points 2 years ago (1 child)

    Which part in particular? They were improved in 3.10 and 3.11

  • source
  • parent
  • hideshow 2 child comments
  • [–] 65 points 2 years ago (1 child)
  • [–] 47 points 2 years ago (2 children)

    "I dOnt lIkE tYpEsCrIpT. iT aDdS uNnEcCeSsArY cOmPlExItY."

    Well I don't like the PTSD I have from trying to refactor your God awful native JavaScript codebase. It has enough magic strings to summon the Dark Lord himself.

  • source
  • hideshow 4 child comments
  • [–] 17 points 2 years ago (1 child)

    "you don't need types, just use unit tests!"

  • source
  • parent
  • hideshow 2 child comments
  • [–] 38 points 2 years ago (1 child)

    Say what you want about it, but it will not go down without using everything in the vicinity as a weapon if ammo runs out. While others go down, they will be kamikazeing themselves to get the job done.

  • source
  • hideshow 2 child comments
  • [–] 22 points 2 years ago* (2 children)

    I write JS/TS daily and I agree with this lol.

    I’ve offset it with Golang lately.

  • source
  • hideshow 4 child comments
  • [–] 12 points 2 years ago (1 child)

    Ehhh, golang’s pretty down there for me too. Sure, you have types, but the way you “implement” an interface is the sussiest thing I’ve seen in most well-known programming languages. Not to mention all the foot guns (pointers for nullables is a common one, and oh, if you forgot that a function returns an error, and you called it for its effects, you’ve just built a possibly very silent bomb) you end up building into your programs. I use in prod, and I get scared.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 2 points 2 years ago (1 child)

    I’m pretty new to it. The types and struct stuff are a bit hand-wavey, but I like how quickly I was able to ramp into it. I built a simple API with it in a few hours.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 2 points 2 years ago (1 child)

    2 things I like about golang is just 1) the ease of getting someone to start work, and 2) goroutines. I have no complains about goroutines cause I’ve barely used it, and when I do it’s been fine. The first point though, I’d say the simplicity of the language is a double-edged sword — it’s easy to learn with little surface to cover, but it forces you to implement a lot of basic machinery you find in other languages by yourself, and so your codebase can get clunky to read really quickly, especially as your project grows.

    Not trying to dissuade you from learning golang tho. I think it’s a good language to learn and use, especially for small simple programs, but it’s not the great language many try to say it is. It’s… fine. There are many reasons why it grinds my gears, but I’m still fine with using it and maintaining it for prod.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 3 points 2 years ago

    “Clunky” - this hit it on the head for me. When I was initially getting started, some of the setup and boilerplate felt awkward. It feels very barebones, which I can see the benefit if you’re not a fan of opinionated, but as a project grows, it seems like a dark corner that technical debt and spaghetti code would amass.

  • source
  • parent
  • [–] 20 points 2 years ago (1 child)
    load more comments (1 reply)
    [–] 15 points 2 years ago

    Until today I thought being a typist just meant you could press keys quickly

  • source
  • [–] 10 points 2 years ago (2 children)

    lol is the web a joke to you? jk

  • source
  • hideshow 3 child comments
  • [–] 26 points 2 years ago (3 children)
  • load more comments (1 reply)
    [–] 4 points 2 years ago (1 child)

    This is some great content, but where would vbscript and .wsf files sit (do they even get to join the team?)

  • source
  • hideshow 2 child comments
  • load more comments
    view more: next ›