Renegen on 8/10/2006 at 09:52
I did a stupid class where we learned binary conversions and how computers work and a bit of assembly, like a simple greater than program and substraction etc in assembly, not planned for this current career. I also took calculus and am currently taking algebra although I don't quite understand how I'll incorporate it in my codes. Maybe the thinking process?
dvrabel on 8/10/2006 at 10:18
Quote Posted by TTK12G3
...but knowledge of the JAVA language is simply a necessity in the programming world.
No it is not.
scumble on 8/10/2006 at 10:52
I found it worthwhile to spend some quality time with Java, because I gained a good understanding of object-oriented development, and the benefits of using such methods.
Definitely not a necessity, but useful, and the freely available tools (Netbeans IDE) and documentation (Java tutorial at Sun's site) make it relatively easy to get into.
Note that Visual C++ Express is available for free at (
http://msdn.microsoft.com/vstudio/express/visualc/) msdn if you want to have a go with it.
Mortal Monkey on 8/10/2006 at 11:28
Alternatively I can recommend Bloodshed's (
http://www.bloodshed.net/devcpp.html) Dev-C++. It doesn't clutter your projects as much as MSVCE with unnecessary files.
Navyhacker006 on 8/10/2006 at 13:11
A very simple rule that I've found to be useful:
Make it work. Then, make it pretty.
More often than not, if you can make something work, you'll feel more confident about tackling bigger problems, which will give you insight into how to make your earlier code work better.
For example: I wrote a shell script to run nethack (sort of like a baby version of alt.org, but before I knew about them). It was ugly, bad code, but I made something work, so that when I learned more, I went back and rewrote it, with less suck. It's still ugly, but it does the job.
Another example: I wrote a really sick (as in, ailing) Battleship game during a car trip home two years ago. It provided the necessities, but not much more. I'm in the process of re-visiting it and making it do simple, important things like, oh, I dunno, prevent the player from placing a ship diagonally. However, there's a small problem with trying to update it:
I didn't leave many comments. Comments are useful, believe it or not. What sems obvious at the time could, in as little as a couple of weeks, become strange, alien code that you don't have the faintest clue about. But don't write comments for other people; write them for yourself. Chances are, 'speaking' like that will shed more light on what you're trying to do than saying " ... and then I grabbed a hand full of feathers and here I'm ending the for loop for i < 12"
Ulukai on 8/10/2006 at 13:38
I came across some comments the other day, useful they were not :(
// By the Power of Greyskull
// I have the POWER!
// da da da da da
[Serializable]
private void SomeFunction()
{
...
}
Frankly, when it comes to deciding if a product is ready for release, making it work should have the same weight as making it 'pretty' especially if you're writing for end-users and you want people to actually spend more time using your programs than trying to find out how they work. lol Garretloader
If making it work has taken 99% of the project time and 1% is spent on UI, your program might as well not work in the first place. Ideally, the logic and datalayer should be decoupled nicely from the UI making future UI enhancements a breeze. And sometimes, programmers aren't the best people to design the UI anyway, especially if they're of the 'lol UI development' mentality.
As for Java, well. Java can go blow sandal wearing goats in a university lab somewhere :D (Nothing seriously against it, it's just not what I use)
Swiss Mercenary on 8/10/2006 at 15:44
Quote Posted by Navyhacker006
" ...
and then I grabbed a hand full of feathers and here I'm ending the for loop for i < 12"
Indeed. Your comments should say what the code does, rather then HOW it does it.
Something like:
i++; //add 1 to i here
is completely useless, as any idiot knows what ++ does.
Instead, something like:
i++; //And here we skip the next loop cycle, for reason _______
is much more helpful.
Navyhacker006 on 8/10/2006 at 16:23
Quote Posted by Ulukai
Frankly, when it comes to deciding if a product is ready for release, making it work should have the same weight as making it 'pretty' ... If making it work has taken 99% of the project time and 1% is spent on UI, your program might as well not work in the first place.
I was talking about ugly code vs. elegant code, not a working, incomprehensible program against a broken, pretty one.
Ideally, you're right. Elegant code with an intuitive interface.
Quote:
As for Java, well. Java can go blow sandal wearing goats in a university lab somewhere :D (Nothing seriously against it, it's just not what I use)
I agree.
TTK12G3 on 8/10/2006 at 17:15
Apparently no one here likes JAVA. Sorry I brought it up...
Agent Monkeysee on 8/10/2006 at 17:23
VIVA LA SMALLTALK BITCHES