Righteous Wrath Online Community

General => Tech Chat => Topic started by: Darren Dirt on December 16, 2019, 06:38:46 PM

Title: Hungarian Notation is actually good, but Hungarian Notation is still bad
Post by: Darren Dirt on December 16, 2019, 06:38:46 PM
Hungarian Notation is actually good, but Hungarian Notation is still bad... because "Apps Hungarian" was a simple smart idea that was soon misunderstood and then quickly spread as "Systems Hungarian".

The latter is identifying the TYPE AS IN CLASS of data in its variable name and essentially useless, the former is identifying the TYPE AS IN KIND OR PURPOSE of data and actually useful...

https://www.joelonsoftware.com/2005/05/11/making-wrong-code-look-wrong/

PS: the origin story For NUL ANS CON and PRN -- and why they also work with an extension (and actually must!) https://devblogs.microsoft.com/oldnewthing/20031022-00/?p=42073

/HistoryLesson
 (idk why I am reading 15 year old tech blogs lol)

Title: Re: Hungarian Notation is actually good, but Hungarian Notation is still bad
Post by: Darren Dirt on December 16, 2019, 07:31:54 PM
Okay more dusty ancient mythology of nerdworld:


'member the Windows 95*** startup sound?

It was required to be 3.25 seconds (missed pun opportunity! Why not 3.11 seconds?)

And they got *Brian Eno* to do it.

And he went through 84 different versions within this constraint -- loving the challenge!
 https://www.sfgate.com/music/popquiz/article/Q-and-A-With-Brian-Eno-2979740.php

via https://devblogs.microsoft.com/oldnewthing/20030908-00/?p=42623

*** https://www.youtube.com/watch?v=Xh1JzHWvPqY = The History of Windows Startup Sounds (version by version -- oddly emotion-stirring)

Title: Re: Hungarian Notation is actually good, but Hungarian Notation is still bad
Post by: Thorin on December 16, 2019, 08:41:42 PM
Joel On Software is an excellent read.  Did you ever read his book User Interface Design For Programmers?  If not it's available online: https://www.joelonsoftware.com/2001/10/24/user-interface-design-for-programmers/.  This is a book that shaped my view of UI early on.
Title: Re: Hungarian Notation is actually good, but Hungarian Notation is still bad
Post by: Mr. Analog on December 16, 2019, 08:48:37 PM
I just follow design patterns now; React/Bootstrap/AntD let somebody with actual skill massage the CSS rather than my blind-ass self