Gimme dat snake

I’ve been try­ing to branch out from java recently. I’m try­ing ever so hard not to force myself into a cubi­cle job 10 years from now typ­ing java code for a liv­ing. Since I love garbage col­lec­tion I thought I’d give the mad pop­u­lar python script­ing lan­guage a try. For the longest time I had the impres­sion that script­ing lan­guages were far less pow­er­ful than a full on lan­guage such as C or java. Of course I proved myself wrong…

Python is great. So far I’m lovin’ it. I know I’ve only tapped the sur­face of python… I’ve still got to try out its classes, gui abil­i­ties, and the thou­sands of mod­ules, par­tic­u­larly pygame. So as my first project I cre­ate a very sim­ple and rough ter­mi­nal jour­nal pro­gram that incor­po­rates file i/o, dic­tio­nar­ies, and input. Cod­ing this project fell like I was cod­ing with Java. Maybe my cod­ing style is extremely adapted to java or some­thing, I’m not sure. I’d need some­one to look at my python code and tell me if I’m writ­ing it cor­rectly like a python pro­gram­mer. I’ve heard that python is known for the phrase “there is one one way to code it,” or some­thing along those lines. View journal.py here on github.

Processing

I’ve been work­ing on some pro­cess­ing projects and I’ve uploaded them over @ Open­Pro­cess­ing.

  • Par­ti­cle Play This is a totally fun par­ti­cle physics sim­u­la­tion. I had fun play­ing with this more than mak­ing it.
  • Game of Life clone — This was a quick project I whipped up today. So sim­ple and intrigu­ing. I had my all my friends fid­dling around with it at dinner.

Also, check out Has­Can­vas. A cool site that uses processing.js to con­vert native pro­cess­ing code into can­vas and html5 work­able code that can be dis­played through mod­ern browsers. This is my favorite. It’s sim­ply beautiful.

New Matrix Java Program

So this quar­ter at UCSC I’m tak­ing a cou­ple math classes but, unfor­tu­nately, I’m not tak­ing any com­puter classes. That’s a bit of a bum­mer because I’ve recently real­ized I’m in LOVE with pro­gram­ming. I love the fact I’m cre­at­ing some­thing from scratch that is work­ing, inter­ac­tive, and returns work­able out­put. For me that’s a big deal, I love cre­ative tan­gi­ble things like art, crafts, and cook­ing (espe­cially bak­ing bagels!) I’d call myself new to pro­gram­ming still, but I’m get­ting the hang of it quickly and lov­ing where it’s tak­ing me.
Con­tinue Read­ing