Shopping for a lang to learn.
Posted by Automatic_Brush_1977@reddit | learnprogramming | View on Reddit | 10 comments
Currently learning some rust as my first language, and theres some things i really like, but im finding that 99% of the time if i want to learn something new about it i feel like im just buried in docs, so im not getting too far with it. One thing i really like is their ideas about mutability/ownership seem to really hit my headspace, but then on the back side i feel like every time i turn around there's some implied thing i have to go learn about thats not really in code.
Previously i had checked out some books on c, but it was always something like, hey, heres hello world, and by the end of the chapter they were including 20 concepts never mentioned, so i couldnt really wrap my head around it. I have a better understanding now of general programming concepts after about 8 months or so of reading things, but im not sure if i should try to stick with rust or pickup something else.
Dontezuma1@reddit
Try swift. It’s not perfect but has some good ideas.
Physical-Goat-3015@reddit
rust is brutal as a first language ngl 😂 maybe try python or javascript first to get comfortable with programming logic without fighting the compiler every step? once you get the basics down the ownership concepts in rust will click way better. i started with c++ years back and it was pain, wish someone told me to learn easier language first 💀
Automatic_Brush_1977@reddit (OP)
the ownership concepts seem way easier to me than like RAII is really my issue. I feel like if something is happening it needs to be on the screen, but maybe i need a mindset shift here>?
klorophane@reddit
Rust is the first language I learned, and it opened so many doors for me. Some people have this weird idea that there's a ladder of languages that you need to climb (first assembly, then C, then C++, then Java, etc.), but that couldn't be further from the truth and is a huge waste of time and energy.
For me, Rust was the perfect place to start because it introduces both very low-level concepts, and also very high-level ones. Since then, I've been able to somewhat easily learn my way into risc-v assembly, C, C++, C#, web dev, functional languages, etc.
I won't lie and say it's easy (becoming a good programmer is never easy and your first language has nothing to do with that). But, your chances of success are higher if you start with a language that you vibe with. I started Rust as a hobby, and a couple years later I now have a software engineer job and I do consulting works for a couple of local clients. This path exists. Good luck!
nightonfir3@reddit
If you want to optimize learning things its often good to isolate the number of things that you learn at once. Most people recommend starting with a language with managed memory so you don't need to worry about memory allocation and lifetimes as its taken care of by the garbage collector. Starting with a language like rust gives a steeper starting learning curve. That being said having a passion for what your doing and determination can overcome the learning curve. Its also could be different if your interest is in embedded systems.
RealMadHouse@reddit
Watch @coredumpped to know how software works in cpu.
JohnBrownsErection@reddit
Rust gets easier if you get yourself a nice pair of high quality knee-high socks and a skirt to wear. I don't know why, I don't make the rules. But it is a hard language to learn first so I personally would take every advantage I can get.
Depending on what you want to do with coding you may consider a different language though and have a better time. I like python, personally, because I do a lot of screwing around with data and it's great for that. It's also pretty easy in general to pick up and go.
Currently I'm picking up C++ because this fall I need to take a course on algorithms and for some reason my school is swapping us from python to that when it's the 3rd course in the path lmao.
Anyway best of luck to you.
Acceptable-War-6423@reddit
Just pick any language and start building something. Can be anything really.
The languages all teach the same general concepts, so any language is good. If i would start now I probably would pick Go as it is simple, yet it teaches all relevant concepts so picking up other languages will be quite easy (except for Rust, that is a really complicated language)
Turbulent-Hippo-9680@reddit
rust as a first language is rough tbh
not impossible, but it means you’re learning programming and learning rust at the same time, which is a lot
if you want faster momentum, i’d do python or javascript first and come back to rust after the basics feel automatic
forced_lambchop@reddit
The problem you are describing isn't really a language issue it's a programming issue but as you go and start building more things it all starts to come together. It never hurts to try new things though. Try out Java or c# and see what you think but in the long run language is just a tool used to build what you want. Once you can program well you'll be able to switch between them fairly easily.