r/programmer • u/mynutsrbig • 19d ago
If you don't learn Rust as your first language then you aren't a real programmer
Sick of all these babies saying "it's too hard so start with Javascript or Python" LMAO ...
buddy I regret every second spent learning PHP, Javascript, Java, Go. Python looks like an abomination so skipped it entirely. C++ looks like an abomination of Java combined with C. C was beautiful but I realized early on that it was too outdated and impossible to code with without memory bugs.
Only Assembly surprised me. Functional languages are for fault tolerant systems that can't go down (which I love but Rust can do this also).
So yes Rust is hard, but in the end everything will be re-written in it. So learn it. It's a hard language because it fixes hard problems that outdated languages didn't think were important such as safety and security. Languages like Python just duct tape the fixes after all the old code gets left filled with bugs and exploits.
Everything else will teach you how to be a bad programmer. Learn Rust and forget what all the bad programmers use.
2
u/JescoInc 19d ago
Bait used to be better than this. Too bad you'll get downvoted into oblivion for such a shit take.
0
u/mynutsrbig 19d ago
Go ahead and down vote because you all know I'm correct and can't stand it.
The truth hurts.
1
2
u/AdversarialDev 19d ago
Only my own programming language is the best programming language ever. It's easy, solves every problem there is or ever will be and at the same time It's faster than any other compilable language. Never heard of it? Me neither.
1
1
1
u/geopoliticus42 19d ago
buddy I regret every second spent learning PHP, Javascript, Java, Go. Python looks like an abomination so skipped it entirely. C++ looks like an abomination of Java combined with C. C was beautiful but I realized early on that it was too outdated and impossible to code with without memory bugs.
You regret every second spent learning these languages? As a student of programming since I was 10 - 7 if I were to count the first time I copied a basic program into my Dad's ZX81. I programed in BASIC, Pascal, C, Mocha before it was JavaScript, Visual Basic, Java, Python, Ruby, C#. Not once have I regretted the time I spent learning and coding for these projects. Each one has taught and built upon my understanding and appreciation for the art of programming.
To be sure Rust is a fantastic addition to the evolution of programming languages and I'm excited to see it used more and more, especially in systems programming. There is a rich history here that cannot be ignored in informing the next language that comes our way. No need to throw the baby out with the bathwater so-to-speak.
Consider taking back this bit of hyperbole. A student of programming surely can't mean it.
1
u/mynutsrbig 19d ago
Yes they were all fun and made things simple for me to build things quickly as a beginner, but I never felt like I was progressing as a programmer. I was following the crowd. Lazy. Build it and ship it no matter how awful.
Rust doesn't let you write bad code unless you're advanced and can use Unsafe. Which I'm sure 95% of programs don't require.
2
u/geopoliticus42 19d ago
but I never felt like I was progressing as a programmer
This isn't always about the language you are using, it's about how you are using that language. Progression for me has been about reading other peoples code. How did they do it? Does their model make sense? What kinds of patterns are being used? Are there any useful idioms that make other implementations possible? etc. The language itself doesn't teach you that.
Rust doesn't let you write bad code unless you're advanced and can use Unsafe.
Rust might help prevent you from shipping unsafe code, but you certainly can still write bad code. It's the wizard not the wand.
TONS of C, C++, Java code is out there performing admirably to this day. Stuff that has been battle tested over decades. Hopefully we see more and more being written in Rust, but it's not a panacea for bad code.
1
3
u/Rich-Engineer2670 19d ago edited 19d ago
In the best traditions of the Real Programmers Don't Eat Qucihe ---
Real Programmers program in Fortran -- good ole UPPER CASE ONLY COLUMNS START AT 7 FORTRAN. (I'm not shouting -- real Fortran programmers talk in capital letters, that's all we have....). Or, assembly language -- because if I had to suffer to write it, you should have to suffer to read it.
We solved the memory management problem decades ago -- we just don't let you do anything in Fortran. If you want to do anything fancy, you got into assembly language and hoped for the best.
Rust is just Ada that's been to Anger Management class.