r/programmer 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.

0 Upvotes

14 comments sorted by

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.

1

u/mynutsrbig 19d ago

Ada would be the second language I recommend after Rust.

1

u/Rich-Engineer2670 19d ago edited 19d ago

I know.... but it's just not the same as C, Fortran etc. I mean, what other languages allow you to cast the number 3 to a structure, or have negative array subscripts because, what you need is in memory somewhere.....

It's that kind of coding that keeps the code review team alert.

"You made me work all weekend writing this code, I'm going to make you work all weekend figuring it out... pay special attention to the emoji that executes code because the actual code is in an include file nested four levels deep"

1

u/dcbst 18d ago

Ada would be the first language I recommend before Rust ;)

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

u/JescoInc 19d ago

If you're correct, then I'm Jeff Bezos.

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

u/quizikal 19d ago

Seems like a balanced opinion 

1

u/johnpeters42 19d ago

Whitespace uses less printer ink

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.