I'm having fun working with the Ruby programming language. I learned the fundamentals before I started--the syntax, which is basically how to read and write it--but the standard library, which you can think of as the vocabulary to make useful programs, is large and I'll be learning that for some time.
(One example is how to make a directory on a hard drive: this turns out to be a function calledmkdir
in the moduleDir
. But to check if a file, including a directory, exists, that's the functionexists?
in the moduleFile
. It's hard to remember these things without using them at least a couple times.)
Ruby is quite a bit like Perl, which you could think of as my "native" programming language, the one I've spent the most intense and interesting time with. They're both called "scripting" languages, which isn't rigorously defined, but generally means "a bit slower, but lets you get more work done with less programming."
The people are really cool, I'm enjoying taking the train, and the food is good. Let's hope it keeps up.
No comments:
Post a Comment