SNAKES RULE! 100 Days of Code, 2 of 100
It’s funny when people say coding is too hard. Those people never tried Python!
Continuing where I left off, I managed to successfully install the virtual machine per the instructions in the Relational Databases course on Udacity. I completed about a third of part 3, Pythong DB-API. I now see the fun side of Python.
It’s able to perform method calls that query information from databases. Combine that with a web application, and you’ve got a heck of a system! But the real enjoyment is in the syntax.
Firstly, no importing utilities or creating classes or methods. In the exercises thus far, I’ve seen some of the simplest lines of code ever. Variable declarations don’t need data types, you just declare them! In one exercise, I declared a string variable to be used as a query later in the script.
query = select name, id from students
THAT’S IT! It’s so simple. I don’t have to worry about missing semicolons or anything. Sorry Java, but today Python showed me just where the water drop hits the pond.