I don’t know why, but this past week has been awesome. That MATH 135 midterm helped alleviate some stress by being early on in the week and not having an assignment this week. This left me with loads of time and I ended up finishing my assignments early, leaving me with loads of time during the past few days. I’m so productive even though I spent the last two nights playing Settlers and Smash Brothers. Hell, I even just finished the MATH 135 assignment for this week, and it’s not due till bloody Thursday. I’m done about half of calc, and I just have to finish up physics. I predict things will fall back into place when I go home next week and I’ll be scrambling again.
One of the things that pisses me off most about DrJava is the fact that it indents using spaces. I absolutely hate code indentation with spaces. It makes about as much sense as indenting paragraphs with spaces, that is, if you do it, you’re stupid. What makes it worse is that DrJava absolutely must indent with spaces because the brilliant developers decided that a better use for the tab function is to automatically indent your code to the current block level using spaces.
The other thing about indentation is the number of characters to indent. As we all know, tabs are eight spaces. Therefore, indents are eight spaces. Not four. Not two, as is in the DrJava default. If you’re going to indent in two, you may as well save yourself the trouble and not bother indenting at all. While you’re at it, go and write your entire program on one line too.
On the other hand, do not ever indent in papers using the default tab. Most people type essays and indent paragraphs with an indent of half an inch. Go take your rulers out and frigging check how long half an inch is. Here’s a hint: it is bloody monstrous. An indent should only be one em. Why? Because an em depends on the size of your type so it will always look right at any size. You’re only allowed to change your indent size if you already know what an em is because you probably know what the hell you’re doing anyway.
Finally, brace style. It annoys me to no end seeing large chains of if statements with every brace getting its own line. First of all, it’s a bloody waste of space. Second of all, I find it impossible to follow the nesting and such. For branches and loops, opening brace comes at the end of the statement, not on the line after. The closing brace is on a new line, preceding the next statement on the same line if there is one. For functions and classes, they get their own lines because functions and classes are special and you’ll never chain a function or class together.
Okay, not finally. Methods are a retarded name for functions. This is why I hate object oriented programming. Have you read the Java book? It’s all like “OMG THEY’RE CALLED METHODS DON’T CALL THEM FUNCTIONS.” Maybe the reason I hate it so much is because they insist so strongly. Here’s news, they’ve been called functions long before this new OOP fad, and they’ll be functions long after. My God, I hate Java.
One wonderful thing about being in software engineering is that you hang around nerds all the time. Engineering itself is fairly nerdy, but software seems to be the largest concentration of nerds in all of engineering, probably something to do with the fact that there’s no physical work involved.
We were watching Azumanga Daioh one day, because Azumanga Daioh is awesome. In the opening, there’s a sequence where Kagura, Tomo, and Osaka are swinging their arms. One of my friends goes “It’s a sine wave!”. Later that day, we were walking around in the MC like a train. Then we decided to make a sine wave while we were walking. And we did.