Here's some space for your most controversial programming/tech opinion:
7 comments
@SpindleyQ @fribbledom huge agreement here. (At least for languages that aren't strongly typed) @darius @fribbledom I'm curious what projects you've worked on that used it successfully! I used it extensively at Intentional Software, where we were largely writing C#, and in many ways it was much richer than any strongly-typed language I've seen - "an index into the list 'foo' that is one past the end" is not the sort of thing you would bother representing in a type system, but with Hungarian you'd consistently use "ifooLim" throughout your codebase @SpindleyQ @fribbledom I used it as an undergrad extensively when writing large code bases in MATLAB m-script. It also is used in the Spelunky (original GameMaker) source code and it was just... so nice and readable and understandable. I like the idea of using it to basically extend types like you mention! @darius @fribbledom oh neat, I had no idea about Spelunky, would not have expected it to show up there! @SpindleyQ You can see it in Derek's Game Maker for Beginners tutorial, it uses the exact same style as Spelunky. oFoo for an object named Foo, sFoo for a sprite named Foo. There are a few others. It's simple but it works and imo it's absolutely necessary for gmscript @darius oh yeah, I can absolutely see why having some kind of simple short disambiguation convention is just obviously needed sPipe n'est pas une oPipe |
@fribbledom Hungarian notation has useful properties, and when used properly can be a valuable tool for clarity of thought and communication