10551
Developer's Corner / The unique excitement of coding something emergent
« Last post by mouser on November 14, 2012, 10:21 PM »I've been meaning to write this post for a while -- a post aimed at new coders.
I want to write a little about the unique excitement and satisfaction that comes from writing code with the capacity to surprise you.
I think fiction writers often get this kind of satisfaction when the characters in their stories start to take on a life of their own and the writer can stand back and marvel at what happens.
There are lots of programming projects that have this flavor of emergent interactions with the ability to surprise. Most games have this flavor, where enemies and non-player characters interact in ways that you didn't anticipate. And of course most simulations have this flavor.
So this is my post encouraging new programmers to find a little project that is like a little simulation -- interacting components that can product outcomes that you can't predict.
Some good places to get started might be implementing Conway's Game of Life, or the Mandelbrot set, or just pick any simulation-based game like sim city and try to code the absolute simplest little form of it.
I want to write a little about the unique excitement and satisfaction that comes from writing code with the capacity to surprise you.
I think fiction writers often get this kind of satisfaction when the characters in their stories start to take on a life of their own and the writer can stand back and marvel at what happens.
There are lots of programming projects that have this flavor of emergent interactions with the ability to surprise. Most games have this flavor, where enemies and non-player characters interact in ways that you didn't anticipate. And of course most simulations have this flavor.
So this is my post encouraging new programmers to find a little project that is like a little simulation -- interacting components that can product outcomes that you can't predict.
Some good places to get started might be implementing Conway's Game of Life, or the Mandelbrot set, or just pick any simulation-based game like sim city and try to code the absolute simplest little form of it.

Recent Posts
do not poke at servants or gods 

