Friday, September 21, 2012

Math and Methods

I don't have a whole lot to say about methods, because they're basically the same as in Python, but I do have to say that I'm grateful we're learning the specific syntax. I have a tendency to over complicate my solutions to problems just for the fun of it, and methods help me to at least condense my code. The math library is also pretty much the same, though the differences in data types have been slipping me up, like how I keep trying to use the results from random like they're ints, when they're actually doubles.

No comments:

Post a Comment