Re:Show HN: Focus on what matters – who should do what
by kaoD on Wednesday March 18, 2015 @12:55PM
(#9226865)
http://en.wikipedia.org/wiki/Hungarian_notation
> Hungarian notation is an identifier naming convention in computer programming, in which the name of a variable or function indicates its type or intended use.
http://en.wikipedia.org/wiki/Hungarian_notation#Relation_to_...
> For example, in some forms of BASIC, name$ names a string and count% names an integer. The major difference [...] is that sigils declare the type of the variable to the compiler, while Hungarian notation is purely a naming scheme not enforced by the compiler.
Re:Show HN: Focus on what matters – who should do what
by bujatt on Wednesday March 18, 2015 @01:18PM
(#9227089)
Wow, didn't know that. Thanks for sharing, I really learned a lot!
Re:Show HN: Focus on what matters – who should do what
by collyw on Wednesday March 18, 2015 @01:33PM
(#9227192)
One place I worked had a coding standard based around hungarian notation. For some reason I hated it, but I kind of like Perl's sigils.
Re:Show HN: Focus on what matters – who should do what
by fiatjaf on Wednesday March 18, 2015 @02:04PM
(#9227438)
So it's like latin declinations?
Re:Show HN: Focus on what matters – who should do what
by kaoD on Wednesday March 18, 2015 @03:55PM
(#9228222)
I guess you mean declension. Are you a Spanish speaker? It's a mistake I usually make too, being the expected translation of "declinación".
Yes, it's comparable to declension, though Hungarian notation is prefix and not part of the syntax, while declension is postfix and has syntactic meaning.
What's Hungarian about it? :)
When is definitely important, we have it on our roadmap. We picked @who because of @mention. Does it come natural to you?