The Case Against Match-Case
I have beefs with many conventional critiques of python. People complain about GIL, people say python is slow. Along these lines lies the 'match-case' pattern matching. I'll be clear: match-case is bad, don't use it.
I have beefs with many conventional critiques of python. People complain about GIL, people say python is slow. Along these lines lies the 'match-case' pattern matching. I'll be clear: match-case is bad, don't use it.
There are two reasons why python is 'bad'. First, it is not statically typed like C. Second, it is not as fast as C...
Raytracing in python - now with animation!

I read majestic Fabien Sanglard’s article about the “business card raytracer” a few years ago. These 1337 bytes of code would fit on a business card...

No spoilers here ;-)