jeffThompson / CreativeProgramming1

An introductory course exploring code as a tool for creative making

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Joseph Pang: 10 PRINT CHR$

jpang68 opened this issue · comments

One thing that got me really interested in programming was striving for the ability to write really efficient code. Having seen other people writing quality software, I was definitely interested in having that skill. There is certainly an art form to writing code in this way. By efficient, I mean the ability to accomplish a specific task in as little amount of code as possible. Firstly, there are many ways to accomplish the same task, usually with their own pros and cons that are left up to the creativity of the creator. Additionally, good, condensed code has the ability, like we saw in the reading, to have a much more complex explanation than it may seem at first glance.

https://github.com/TheMozg/awk-raycaster
Above is a link to a really cool project that combines ASCII art with very efficient awk code (if you are not familiar with awk it is a language intended for data processing/manipulation, and comes pre-installed in most Linux distros). Being able to take a relatively specific language like awk and build a functional game in 600 lines has a certain minimalism that is very appealing to me and makes me want to keep learning more about writing code. In addition to this game, there are some really interesting solutions on projecteuler.com in c/c++, assembly, etc. that are good demonstrations of very good code.