• entries
    707
  • comments
    1173
  • views
    434031

Untitled

Sign in to follow this  
Programmer16

59 views

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.
Sign in to follow this  


4 Comments


Recommended Comments

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.

Share this comment


Link to comment
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.

Share this comment


Link to comment
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.

Share this comment


Link to comment
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!

Share this comment


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now