All of your stupid embarrassing coding mistakes!
#7

Quote:
Originally Posted by Vince
Посмотреть сообщение
Fuck Hungarian Notation. I hate that whole heartedly. The compiler does the type checking so this is just dumb and useless. I could see it being used in PHP or so, which is a typeless language, but not in Pawn or C. I just can't read code that's written in HN, it makes my eyes bleed.
The whole point of Hungarian Notation is not for the compiler but the programmers; specifically the ones who didn't write the code themselves. This will allow them to more easily follow the track of variables for things like their scope and data type without having to refer back to their declaration. If you have trouble reading Hungarian Notation, you will have trouble in the more mainstream programming and projects.

As for my stupid mistakes, I often now use C functions instead of Pawn functions for things like string manipulation and file handling. It is quite annoying going from one language to the next when you have different functions that basically result in the same thing. It is even more annoying when functions have the same names, but take different parameters, return different values, or do something completely different than the one you previously knew.
Reply


Messages In This Thread
All of your stupid embarrassing coding mistakes! - by [HLF]Southclaw - 04.08.2012, 18:06
Re: All of your stupid embarrassing coding mistakes! - by Arca - 04.08.2012, 18:43
Re: All of your stupid embarrassing coding mistakes! - by Vince - 04.08.2012, 19:07
Re: All of your stupid embarrassing coding mistakes! - by [KHK]Khalid - 04.08.2012, 19:11
Re: All of your stupid embarrassing coding mistakes! - by [HLF]Southclaw - 04.08.2012, 19:21
Re: All of your stupid embarrassing coding mistakes! - by Vince - 04.08.2012, 20:27
Re: All of your stupid embarrassing coding mistakes! - by Bakr - 05.08.2012, 04:04
Re: All of your stupid embarrassing coding mistakes! - by leonardo1434 - 05.08.2012, 04:31
Re: All of your stupid embarrassing coding mistakes! - by Misiur - 05.08.2012, 06:56
Re: All of your stupid embarrassing coding mistakes! - by Joe Staff - 05.08.2012, 11:23
Re: All of your stupid embarrassing coding mistakes! - by Universal - 05.08.2012, 11:29
Re: All of your stupid embarrassing coding mistakes! - by Basssiiie - 05.08.2012, 11:57
Re: All of your stupid embarrassing coding mistakes! - by Jikesh - 05.08.2012, 11:59
Re: All of your stupid embarrassing coding mistakes! - by playbox12 - 05.08.2012, 12:14
Re: All of your stupid embarrassing coding mistakes! - by [HLF]Southclaw - 05.08.2012, 22:30
Re: All of your stupid embarrassing coding mistakes! - by Joe Staff - 05.08.2012, 22:48
Re: All of your stupid embarrassing coding mistakes! - by Jstylezzz - 06.08.2012, 00:27
Re: All of your stupid embarrassing coding mistakes! - by admantis - 06.08.2012, 00:31
Re: All of your stupid embarrassing coding mistakes! - by NinjaChicken - 13.08.2012, 03:24
Re: All of your stupid embarrassing coding mistakes! - by Steven82 - 14.08.2012, 15:22
Re: All of your stupid embarrassing coding mistakes! - by Calgon - 14.08.2012, 17:59
Re: All of your stupid embarrassing coding mistakes! - by Roperr - 14.08.2012, 19:12
Re: All of your stupid embarrassing coding mistakes! - by ReneG - 18.08.2012, 11:31
Re: All of your stupid embarrassing coding mistakes! - by HuSs3n - 20.08.2012, 23:55
Re : All of your stupid embarrassing coding mistakes! - by ricardo178 - 20.08.2012, 23:57
Re: All of your stupid embarrassing coding mistakes! - by Sinner - 21.08.2012, 11:06
Re: All of your stupid embarrassing coding mistakes! - by JaKe Elite - 21.08.2012, 12:06
Re: All of your stupid embarrassing coding mistakes! - by FireCat - 22.08.2012, 13:26
Re: All of your stupid embarrassing coding mistakes! - by Kar - 22.08.2012, 14:46
Re: All of your stupid embarrassing coding mistakes! - by [HLF]Southclaw - 22.08.2012, 15:24
Re: All of your stupid embarrassing coding mistakes! - by Patrik356b - 22.08.2012, 15:32
Re: All of your stupid embarrassing coding mistakes! - by milanosie - 22.08.2012, 18:07
Re: All of your stupid embarrassing coding mistakes! - by 2KY - 22.08.2012, 19:36
Re: All of your stupid embarrassing coding mistakes! - by =WoR=G4M3Ov3r - 22.08.2012, 23:44

Forum Jump:


Users browsing this thread: 5 Guest(s)