It’s hard for a best programming language to shine. It’s similar to electric vehicle, they are hard to shine because people are so used to the old way of doing things. So what we can do is just to use the existing language and choose the best one you can use today.
The best programming language are constrained by the infrastructure where you run the code. If you’re making Android app, you can only use Kotlin / Java. If you’re making browser app, you’re limited to JavaScript. You get the idea. However there are things that are theoretically shouldn’t be constrained such as building web backend.
Why then are there so little alternative of programming languages for web backend? Web backend too are constrained by the hosting infrastructure. Do you want to use cheap hosting which only enables PHP and static files, or are you willing to pay for full hosting which enable you to do anything you want? It comes in many flavor such as container-based, VPS, or dedicated hosting.
I choose to go for the cheap hosting which only enable PHP, static files, and Perl. Yes you can argue I can actually use any hosting with CGI, but I haven’t got the time to learn that yet. That will be one of my future projects.
Programming Language of Choice
Being said that, these are my go to programming languages:
- Browser - Typescript / Javascript
- Android - Kotlin
- Web Backend - PHP / C#
Web Backend Hosting
Talking about web backend, I also want to give a shout-out to my current hosting platform of choice which is Niagahoster.
Static Site Generation
Web programming is a complex thing. It consists of Browser and Web Backend. However it can be greatly simplified for some use case. For the case of this website, I actually simplified it to the basics which is server sending files (mostly HTML).
Instead of writing the HTML manually, I prefer to write it in markdown. I also want to have some content management which means I want to be able to write post, ordered by time, have tags, next / previous article navigation, etc. This use case is perfect for static site generation (SSG).
My preferred software for SSG is Hugo which is written in Go. So Go is quite viable option to make a simple website such as a blog.
Programming