What language do you recommend for beginners?
Re:Rust – A hard decision pays off
by throwaway894345 on Wednesday August 24, 2022 @08:28PM
(#32587766)
I think Go would make a pretty good language for beginners, but I haven't tested that theory. TypeScript might be the safer bet, especially since you can run it in the browser and see things, which is probably somewhat more gratifying than printing text to a console.
I would go on a limb and say Rust (or more specifically, a limited dialect of it) could become a good language for beginners if:
- the compiler had better life time inference, so that you wouldn't need to annotate simple functions and introduce beginners to complex issues related to lifetimes, i.e it should "seem" to work like python, initially.
- better learning resources for absolute beginners are developed, step by step tutorial, an easy to install full IDE with friendly error messages etc.
(Obviously, I am talking about CS students here, not about the general public who just want to learn what writing a program means)