Programming


Code examples

Luhn Algorithm implementation


                                    
                                

Quadratic equation solver


                                    
                                

Christmas tree


                                    
                                

Decimal to scientific notation


                                    
                                

Find primes up to N


                                    
                                

What I like about it

Computers are wonderful inventions; they allow us to achieve things that could take a human years to do—in mere seconds.

Their evolution has been quite interesting, from the times of ENIAC where you had to program it by rearranging cables, to today where some problems can be solved in a single line with Python.

In any case, I like the problem-solving aspect of programming; that is, thinking about how to break complex tasks down into simple ones a 5-year-old could undestand.

On this page, you'll see some examples of random code I've written in several languages. Most of it isn't useful, but was certainly fun to make.