On Being Obsessive or Efficient


I was recently thinking about a dimension of intelligence and the mind that might have played a role in my school results of the past, and also my taste for computer programming. When you are taking an exam, careful management of your time might be a very good skill to possess, in the sense that if you are stuck on a given hard question, it might be preferable to rapidly switch on another one, with the goal of maximizing your overall exam grade, rather than completeness. But for some people, this, in itself, is difficult.

Read more ⟶

Conveying Math Intuition Is Hard


3blue1brown recently felt the need to add a supplementary video to its Grover’s algorithm introduction. Apparently, a lot of people have been confused by what I believe is basically just the logical structure of the concept, or why this algorithm is interesting and surprising in the first place.

For someone who only knows about classical computing and a little about algorithm complexity, the simplest way to get an intuition about Grover’s algorithm might be to first consider this:

Read more ⟶

Extremely Quick Pacman-based OOP Primer


I have a friend who wanted to have a quick idea about whether he should use classes and objects for his project. Of course I told him that it depends.. on many aspects. He says that he doesn’t really like tutorials, so here I want to propose something more compact: the skeleton of a Pacman game, just the most basic concepts, without any bells and whistles (so of course not playable, although almost runnable).

Read more ⟶

Il y a au moins quatre types de programme


Read more ⟶