I’ve been trying to branch out from java recently. I’m trying ever so hard not to force myself into a cubicle job 10 years from now typing java code for a living. Since I love garbage collection I thought I’d give the mad popular python scripting language a try. For the longest time I had the impression that scripting languages were far less powerful than a full on language 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 surface of python… I’ve still got to try out its classes, gui abilities, and the thousands of modules, particularly pygame. So as my first project I create a very simple and rough terminal journal program that incorporates file i/o, dictionaries, and input. Coding this project fell like I was coding with Java. Maybe my coding style is extremely adapted to java or something, I’m not sure. I’d need someone to look at my python code and tell me if I’m writing it correctly like a python programmer. I’ve heard that python is known for the phrase “there is one one way to code it,” or something along those lines. View journal.py here on github.
I’ve been working on some processing projects and I’ve uploaded them over @ OpenProcessing.
- Particle Play This is a totally fun particle physics simulation. I had fun playing with this more than making it.
- Game of Life clone — This was a quick project I whipped up today. So simple and intriguing. I had my all my friends fiddling around with it at dinner.
Also, check out HasCanvas. A cool site that uses processing.js to convert native processing code into canvas and html5 workable code that can be displayed through modern browsers. This is my favorite. It’s simply beautiful.
So this quarter at UCSC I’m taking a couple math classes but, unfortunately, I’m not taking any computer classes. That’s a bit of a bummer because I’ve recently realized I’m in LOVE with programming. I love the fact I’m creating something from scratch that is working, interactive, and returns workable output. For me that’s a big deal, I love creative tangible things like art, crafts, and cooking (especially baking bagels!) I’d call myself new to programming still, but I’m getting the hang of it quickly and loving where it’s taking me.