News for hackers. Stuff that matters.
Re:Parse, Don’t Validate by lmm on Friday November 08, 2019 @04:53AM (#21481019)
Your comment gets the history hilariously backwards.

Actually using the type system has been standard practice in ML-family languages since at least the '70s. Simonyi described Hungarian notation as a way of, effectively, emulating a type system in less-powerful languages; describing Hungarian notation as "prefixing with the type" was not a mistake (as Spolsky claims) but an accurate description of how the technique was intended to be used.

The "Systems Hungarian" mistake came about because C programmers misunderstood the term "type" to refer to something far more limited than it does.

The technique in the article is not "encoding Apps Hungarian into the type system". It's doing the very thing that inspired ("Apps") Hungarian in the first place!

Re:Parse, Don’t Validate by Izkata on Friday November 08, 2019 @07:29PM (#21488500)
...Please re-read the part of my comment that starts with "The original intent"
Re:Parse, Don’t Validate by lmm on Monday November 11, 2019 @09:08AM (#21504892)
Thank you for your condescension. Please re-read Simonyi's paper. What you called "metadata" is in fact type. Please re-read my comment.