Languages I Prefer...
Mustafif
Posted on February 18, 2022
Choosing a programming language to use can be a difficult task, and for those starting it can be quite overwhelming. So what's my preference?
For context, I mainly write command-line tools, and web applications, so my languages are more based to that area, and truthfully you should choose a language that reflects your area of interests.
Let's clear this up right now...
First it pisses me off when people call Python the one and end all language because to be quite honest...it really isn't. I've tried Python and it felt way too weird for me, and it's syntax for me felt way too limiting. Python isn't well maintainable when upscale, and is slow, so for me working on fast tools and web servers, that doesn't look well for me.
You can comment and go against me on how great the language is, however keep in mind this is my preference, and I would only use the language for small tasks in my project that I don't want a mountain of code on.
Back to the main subject...
Now that I have all my Python stigma off my chest, let's go to the languages I prefer...
Rust
Of course my first choice is Rust, the preferred language of development for my projects. Rust offers blazing fast performance with guaranteed memory safety, not only that but how the language is built has really made me think Rust.
Here's an example:
use serde_derive::{Deserialize, Serialize};
use toml::{from_str, to_string_pretty};
#[derive(Deserialize, Serialize)]
struct Server{
ip: [u8;4],
port: u8,
}
One of my favourite things is Traits and Macros. They offer a lot of functionality, and for me it makes other languages feel weird. This abstraction makes my life easier since one thing I do is read toml or json files.
There's a lot more I love about Rust such as how easy async
is or web servers with Rocket
, but overall it's a very impressive language.
C
As I've said I like things that are more into the Systems programming world, and the Grandpa in this is C. As a Linux user, C is a language I'm always trying to learn so I can one day understand the Linux Kernel. Currently I'm reading Crafting Interpreters by Robert Nystrom and I hope to improve my ability to write C code with a byte-code interpreter.
Golang
Golang is actually the first language I felt comfortable with, but as I grew to love Rust I stopped using it. However I still love the language and hope to build a project with it, I may have not gone as deep in it as Rust, but I hope to add it to my utility belt someday.
As you can notice these language share a C-style syntax, common in systems programming. So in the end these are the languages I prefer and comment what the languages you may prefer.
Disclaimer: If you like Python, don't worry I won't hate you unless you start treating it like a god. Programming languages all have their pro and cons, all have their weaknesses and none are perfect.
Posted on February 18, 2022
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.