😎 Naming things properly

Photo by Amador Loureiro on Unsplash Perhaps it is not news to everyone that there are two hard things in Computer Science. In my last post, I explained why I felt programming is not boring because there is some art in doing it[^1]. I will not spend any time here arguing whether naming things is an art or not. Instead, I will just go straight into how to name things properly. All the examples below uses the Julia language. ...

June 8, 2020

😎 The meaning of functions in Julia

Photo by Romain Vignes on Unsplash! When I first learned about the Julia programming language, there were a few things that gave me the “wat” moments. One of those surprises involves functions naming. Interestingly, my naive question triggered over 200 follow-up posts in the Julia Discourse forum. 200! That’s one of my best record for motivating fellow developers! 😄 What is the issue? Let’s first take a look at a very simple example. Suppose that I have a CalendarApp module that contains the following code: ...

June 7, 2020

😎 Programming is boring art

Photo by Sebastian Muller on Unsplash Wow, there is a lot to unpack here. Boring? Art? I said it’s boring because you keep writing code that looks like blocks and blocks of text having the same shape. Assignments, conditionals, loops, functions, etc. I can pull out the best, the most intelligent code on this planet and put that side by side with another dumb piece of code that someone just wrote for fun. And they look the same from afar. ...

May 30, 2020