2 ms·
I've always believed that understanding a for-loop and if-statement are all you need to really wield the benefits of computation Ahh, you need more than that.
by chongli 12y ago
I've always believed that understanding a for-loop and if-statement are all you need to really wield the benefits of computation
Ahh, you need more than that. Understanding the principles of abstraction is also key. The ability to capture functionality into a black box and give it a descriptive name so that it can be treated as an indivisible unit is critical to this task of communication with computers (and other humans).
- civilian 12y agoHere's an example of some of my own quite-functional python code I wrote when I was a couple months into coding: https://github.com/pconerly/Go-Analyzer/blob/master/goa.py https://github.com/pconerly/Go-Analyzer/blob/master/goa.py (This analyzes .sgf records of Go games and tries to find examples of Joseki in them.) I add more functions (and classes!) than I remembered, but the code quality is still pretty horrible. You can get a lot done with horrible code.