«« Next » « Previous
«« Next » « Previous

Link Details

Want better links on DZone? We do, too! Login and vote now.
Link 75956 thumbnail

By rick
via msdn2.microsoft.com
Published: Apr 16 2008 / 07:23

Every once in a while, an evolutionary leap rapidly advances and reshapes the entire field of engineering. Such a leap occurred in software development with the introduction of the C++ programming language.
  • 16
  • 0
  • 1579
  • 670

Comments

Add your comment
User 265881 avatar

Topnotch replied ago:

0 votes Vote down Vote up Reply

I especially liked this quote from Bjarne:
'The source code should reflect the meaning of a program, not simulate a type system.'
Hungarian notation really can add a lot of crud and obfuscation to a program at times.

User 236137 avatar

dzonelurker replied ago:

0 votes Vote down Vote up Reply

You mean that template meta-programming as in Boost is going to "reflect the meaning of a program"?

User 265881 avatar

Topnotch replied ago:

0 votes Vote down Vote up Reply

Ok so programming against a template it may not always be clear what the datatypes are but I still feel it's more important for the variable to communicate 'what it does' as opposed to 'what it is'. In cases where this distinction can't be made by naming according to purpose alone then hungarian notation in combination with purposeful naming works ok in some cases.

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (16)



Voters Against This Link (0)