What is best programming language for beginners

what is the best programming language for beginners?

Python is concise and seems to be a popular option. You want a language that doesn’t have too much boilerplate. At my institution, we use C# as our introductory programming language.

1 Like

There are a few things here that need to be considered here, and most of the computer science programs have probably had a lot of discussion going on about this because there is no clear answer:

  • You want your starter language to be fairly simple, meaning probably not object-oriented because this is a concept that needs some experience with programming. So languages such as Java or C# are a bit of an issue because you can’t really use them without OO. You can avoid it to big parts, though, or ignore some things initially, so these two are quite a good choice. We’ve had Java in our department for years as a starting language.
  • Yet, if you want to leave out OO entirely, you need something different, which is why we recently switched back to C. It’s great for learning procedural programming but comes with its own set of challenges, such as manual memory management, which is usually quite confusing for beginners.
  • Another idea might be to have an environment that makes executing your programs as easy as possible. A web browser, for example. This is a point where JavaScript might be a good option, to begin with, since it runs in every browser, and you don’t even need to install an additional piece of software to run it. Yet, the language is a grown one that still contains many legacy “features” that are somewhat inconsistent. Plus, while the language can be used purely procedural, you’ll definitely need objects at some point, so that makes it again harder for beginners. Oh, and there are functional aspects of the language as well.
  • Last but not least, you might want to change a language that’s forgiving of errors. Python has been mentioned above, and I believe it’s an apt choice, but since structuring is done with indentation, I have seen many struggling with it because errors that stem from this are sometimes hard to track.

TL;DR: It’s tough to say, and there’s not an ideal beginner’s language. But again, I’ll most likely start with Java or C#, maybe Python or JavaScript. But (attention, blanket clause coming up): it really also depends on what you want to do with it.

There is only one language and this is C++98.


Just joking! I couldn’t resist commenting as a troll starting a flame war :wink:

1 Like
© 2017 GitHub, Inc.
with by
GitHub Education