News for hackers. Stuff that matters.
Re:I learned Hungarian late in life (2011) by osullivj on Thursday May 12, 2022 @09:28AM (#31353831)
I remember the lpsz vars: long pointer to string zero terminated. What's the W for this? I'm guessing Simonyi's Hungarian Notation was for early C compilers that didn't have function prototype decls? Younger HNers may not remember early C compilers where function declarations just declared the return type, not the parameters.
Re:I learned Hungarian late in life (2011) by kryptiskt on Thursday May 12, 2022 @10:02AM (#31354332)
I think it's a pointer to a wide string with 16-bit chars, but it's been a while since I last came across Hungarian notation. I have been intending to reread "Writing Solid Code" one of these days, though.