Give a man a program, frustrate him for a day.
Teach a man to program, frustrate him for a lifetime.
Muhammad Waseem

When it comes to programming, the choice of tools is just as important to the job as the development state itself. This is why I have compiled a list of what programming languages you would want to use for what jobs. This part specifically covers languages uses in web development. Web Development comes in two parts. Front-end and back-end web development. Each has its own set of tools and languages
Front-end web development
In terms of markup languages, HTML is by far the most popular choice for webpages. Its most recent iteration, HTML5, seeks to unify the markup standards. It is developed and maintained by the W3C and WHATWG. XML, also developed by the W3C is a markup language that is designed to be both human and machine readable. It can also be used as a lightweight form of storing data. Markdown is an upcoming format that is worth a mention. Its design allows output to be converted to numerous formats, e.g. HTML.
Styling is an important element of front-end web development and, as such, it has its tools. CSS is by far the easiest to learn and implement, and being developed in part by the W3C, it has a lot of support going forward. XSL, also developed by the W3C, is not as well known. It is a stylesheet language designed to transform XML documents. SASS is another great choice. It is a preprocessor sripting language that is interpreted or compiled into CSS, adding a dynamic element to it. LESS, influenced by SASS, also takes the preprocessor approach to styling pages. Like SASS, it is extensible by a javascript plugin.
It’s CSS, with just a little more.
https://www.lesscss.org
Speaking of JavaScript, let’s discuss scripting languages, which are responsible for handling the behaviour of a webpage. As of the time of writing, javascript was still the most popular programming language in the world. Microsoft’s TypeScript adds optional static typing to javascript, and transcompilese to javascript, while Google’s Dart is a general purpose language that not only does web applications, but server, desktop and mobile apps as well. The less known CoffeeScript is, in its developers own words;
An attempt to expose the good parts of JavaScript in a simple way.
https://www.coffeescript.org
CoffeeScript compiles directly into JavaScript and all libraries are usable with each other.
Back-end web development
PHP is a language that has been around for a while, having debuted in the mid-1990s. It remains the most used language for web development and is, for this reason alone, a must know languaage for web developers, especially when coupled with frameworks like Laravel. Although Java wasn’t developed specifically for web development, many still consider it one of the best web languages to use, especially since most developers already know it. A big advantage is that the team doesn’t have to learn a new language for a new project. Go is a relative newcomer to the scene, but already has a huge following. It is a top choice for building high-performance apps, as it was designed to take advantage of parallel processing. This list would not be complete without a mention of Ruby on Rails, useful in building server-side applications quickly. Ruby and, by extension, Ruby on Rails skills are a valuable asset in the web-development industry, according to the Tiobe index. While Python itself wasn’t designed with web development in mind, frameworks like Django adapt it to the purpose. However, one trait sets it apart from most of the languages on this list. Like Java, it is a language that lends itself to many use cases and thus can be used in a broad variety of contexts. JavaScript has also moved into the world of server-side programming via Node.js. The two are not quite as extensible as, say, python. But, put together, they cover almost every web-related programming use case you might find, front-end and back. As you journey through the world of programming, remember these wise words;
Always write your code as if the guy who ends up mainntaining your code will be a violent psychopth who knows where you live.
John Woods
Conclusion
This is by no means a ranking of best programming languages, but rather more of a quick-start guide for say, someone who wishes to get into application development but is stumped on where to start. There is no single best language, as I said last week.
One thought on “Which programming languages to use, Part 1: Web Development”