DEV Community

[Comment from a deleted post]
Collapse
 
darkain profile image
Vincent Milum Jr

The majority of programming languages are the same with just some basic different syntax rules. C++, C#, Java, and JavaScript all share a very similar structure. The main difference is just variable declaration and the "built in" library they come with.

This is one area where languages are a double edge sword. C/C++ have no built in library, everything must be explicitly declared. There are common libraries that ship with compilers, but must be included in code before they can be used. In contrast, there is a lot of classes loaded with methods that come shipped with JavaScript implementations. Java and C# are the middle ground, they have some built in, but also access to several more that can be included.

Once you take the idea of separating language from library, they all become instantly easier to understand. Transitioning between languages becomes no different than switching between multiple frameworks within a single language. After all, frameworks are just libraries!