Advertisement

Drop the LPs, people!

Started by June 28, 2000 03:50 PM
15 comments, last by GayleSaver 23 years, 11 months ago
You don''t need the L prefix when declaring pointers or pointer types in Windows. Unless, of course, you intend to program 16-bit Windows - that''s different... Don''t clutter up your code.
VK
um, sorry

(not that i use lp...)
hey, that was you''re first post! you must really hate LP!
Advertisement
Not really. I just registered to post that.
VK
You don''t need any prefix... and l in lp still has meaning now that 64bit machines are on the horizon...
- The trade-off between price and quality does not exist in Japan. Rather, the idea that high quality brings on cost reduction is widely accepted.-- Tajima & Matsubara
Better idea maybe?

Substitute all "extra name-dressing/Hungarian notation/whatever filps your bits here" with comments about why you need the objects instead?!? Just a thought...



YAP YFIO,
deadlinegrunt

~deadlinegrunt

Just a simple question. How does lp clutter up you code? I tend to find code more readable when they use hungarian notation. That could be just me though



========================================================
If something sounds stupid but works, it's not stupid
==========================================In a team, you either lead, follow or GET OUT OF THE WAY.
Advertisement
*sigh*
*dons asbestos suit*


Give me one more medicated peaceful moment..
~ (V)^|) |<é!t|-| ~
ERROR: Your beta-version of Life1.0 has expired. Please upgrade to the full version. All important social functions will be disabled from now on.
It's only funny 'till someone gets hurt.And then it's just hilarious.Unless it's you.
lpapcstrBufferToHoldTemporaryData
long pointer to an array of pointers to strings, that hold temp data.

I was referring more to the type names, for the people that use them.

For example, PSTR = LPSTR.
VK
''LONG Pointer'' sounds so much cooler than just ''Pointer''!

(Yeah, this IS the most intelligent post I have ever posted here)

/CMN

This topic is closed to new replies.

Advertisement