DEV Community

Discussion on: Why did you start programming?

Collapse
 
pinwheeler profile image
Anthony Dreessen

To avoid doing math homework 😂

My teacher had us doing guess-and-check style math equations that all had similar inputs, so I essentially built a brute-force algorithm to do all that (frankly bullshit) work for me and being the kind and generous altruist that I am, I shared this life-changing piece of software with all of my friends in the class.

My teacher caught wind of this and told us we had to now show our work.

Well instead of doing that, I tweaked my algorithm to print out intermediate steps (wrong guesses, etc.) and proceeded to not have to do any work from that point on.