Psilves1

joined 1 year ago
[โ€“] Psilves1@programming.dev 2 points 1 year ago* (last edited 1 year ago)

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

[โ€“] Psilves1@programming.dev 4 points 1 year ago (2 children)

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

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

[โ€“] Psilves1@programming.dev 1 points 1 year ago* (last edited 1 year ago) (2 children)

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

[โ€“] Psilves1@programming.dev 2 points 1 year ago (4 children)

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.

[โ€“] Psilves1@programming.dev 16 points 1 year ago (6 children)

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.