Untitled

posted in Beals Software
Published April 20, 2007
Advertisement
I'm really fucking sick of people telling other programmers to "get rid of the C" and "don't use hungarian notation." It wouldn't be so bad, but people will reply just to say that. Even worse, a lot of the higher rated people do this. It's a coding preference, so who gives a fuck? Certainly not me.



I'll probably have something to show come Sunday afternoon. I've got to work in like 7 hours and then I'm hanging out with my niece after work so I won't be getting anything done tonight.

Most of my time will be spent hooking up all of the different scripting stuff, which will be pretty easy. The best part is that I won't really need anything fancy. There won't be any cutscenes (MAYBE when you meet the final boss or when you return to Earth, but that'll be easy to do because I'll just lock user input), no real messages (any text will be display directly above the character and I don't plan on having more than a page worth of dialog.)

Anyway, we'll see what I can get done during my day off Sunday.
Previous Entry Untitled
Next Entry Untitled
0 likes 4 comments

Comments

ildave1
Quote:Original post by Programmer16
... who gives a fuck?


That about sums it up.

I make myself the programmer that I am, not somebody else wanting to make a clone of themself.

April 21, 2007 04:02 PM
Programmer16
Quote:Original post by ildave1
Quote:Original post by Programmer16
... who gives a fuck?


That about sums it up.

I make myself the programmer that I am, not somebody else wanting to make a clone of themself.


Have I told you lately that I love you? Seriously though, that's going to be my new motto.
April 21, 2007 08:59 PM
jbadams
If you're programming in C then C functions and idioms are perfectly fine.

If you're trying to claim you're coding in C++ then you really should drop the C idioms and functions for the cleaner and safer C++ alternatives. Now, if you're the only one who's working with the code and you know what you're doing then it's not really an issue, but the reason you see higher-rated users giving this sort of advice is that it's genuinely good advice and there are a lot of unskilled programmers out there who genuinely don't know that they are actually using C idioms.

This isn't a matter of coding preference, it's a matter of correctness.


Hungarian notation however I completely agree with you on; use it or not at your own preference. I don't like it myself, but others can do as they wish.
April 24, 2007 03:35 AM
Programmer16
Quote:Original post by Kazgoroth
If you're programming in C then C functions and idioms are perfectly fine.

If you're trying to claim you're coding in C++ then you really should drop the C idioms and functions for the cleaner and safer C++ alternatives. Now, if you're the only one who's working with the code and you know what you're doing then it's not really an issue, but the reason you see higher-rated users giving this sort of advice is that it's genuinely good advice and there are a lot of unskilled programmers out there who genuinely don't know that they are actually using C idioms.

This isn't a matter of coding preference, it's a matter of correctness.


That makes a lot of sense and I actually didn't think about that. However, you're the only person I've ever seen say that. It's always been "it's harder to read" and "it's redundant" (I'm not saying that no one has said it, I'm just saying I've never seen it.)

Thanks!
April 24, 2007 11:54 AM
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Advertisement
Advertisement