Skip Navigation
Jump
LPT: ChatGPT is incredible for generating and evaluating regex
  • It was mandatory. I'm glad I took it, but I'm glad it's over 😂😂😂

    Just look up how finite automatas work. You don't need to understand turing machines or turing completeness

    2
  • Jump
    LPT: ChatGPT is incredible for generating and evaluating regex
  • It's often developers who never took a finite automata class who I've seen struggle with regular expressions.

    It's kind of like writing code in C while not understanding how memory management works

    4
  • Jump
    An opinion on what's a good general-purpose programming language
  • I've gotta say that was a really good argument and was incredibly well written.

    Also very much agree with the compiler comment. Learned a lot from doing that project (twice actually) in college

    1
  • Jump
    An opinion on what's a good general-purpose programming language
  • I don't use low level languages much anymore, but I'm glad to hear Rust is taking over for new projects (as it should imo) . C++ is a monstrosity of a language that's overly complicated.

    Maybe it's because it's the language I learned computer science in, but I feel (maybe hope is a better) that C will stick around. I firmly believe it's the best tool for students to learn how a computer intuitively works.

    As for JS/TS, I only skimmed the github link you sent, but I don't understand how that's too different from TS. Seems to be a slightly different way of accomplishing static typing.

    Also I mostly do front-end with TS, but what issues do you run into doing functional programming with TS out of curiosity? Never tried to do that

    1
  • Jump
    An opinion on what's a good general-purpose programming language
  • That's fine, but there are still plenty of use cases where you'd have to use C instead of anything else. I agree though, Rust is a better language than the monstrosity that is C++.

    Starting a new personal project is different from what the industry requires. If you're working on integrated systems, guess which language you'll likely have to work with?

    It's kind of like Typescript vs Javascript. There's zero reason to start a new project with Javascript, but there's still plenty of projects out there that use it.

    2
  • Jump
    An opinion on what's a good general-purpose programming language
  • I very much disagree. In Python almost everything is abstracted away from you and it's dynamically and weakly typed. It's also interpreted.

    Compare that to C which is literally one step above assembly, strongly and statically typed, as well as compiled.

    They've got completely different use cases and have almost no overlap imo.

    16
  • Jump
    Lemmy.world has grown by about 66.6% since reddit's API shutdown
  • I created an instance user on programming.dev and have had almost no issues seeing other posts.

    You don't need to understand how it all works to use it

    2