tag: rust

How Rust Became My New Goto

2023-07-19

Nowadays Rust is by far my preferred language for any new project. Whenever I have some sort of problem I instinctively run cargo new [project]. Here is why I enjoy it so much.

Syntax

Syntactically Rust combines a lot of what I like all language paradigms. It has a perfect mix of OOP and Functional programming.

Here is a very simple way of defining a struct and then using impl to make instantiating a new book easier:

Why Python and I are going though a divorce

2022-10-05

I, like many other programmers, wrote my first Hello world in Python. For a good while I was having a blast. Python is what brought me into this world and I have to give it some commendation for that. However, over time, I have drifted away from Python. Here’s why.

Simplicity

Syntactically, Python is very simple. This is a great thing for new programmers…or is it? While being easy to understand is important Python’s strangeness makes understanding other languages a bit more difficult. It is almost like Python gives you training wheels, but never let’s you take a leap of faith and gain the full power of riding two wheeled. For example Python’s Dynamic Typing got me accustomed to making variables with little to no thought. Then when I tried languages like Rust and C I was very confused by the idea of static typing.