Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 34003
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T14:00:36+00:00 2026-05-10T14:00:36+00:00

Is it worth learning the convention or is it a bane to readability and

  • 0

Is it worth learning the convention or is it a bane to readability and maintainability?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T14:00:37+00:00Added an answer on May 10, 2026 at 2:00 pm

    Considering that most people that use Hungarian Notation is following the misunderstood version of it, I’d say it’s pretty pointless.

    If you want to use the original definition of it, it might make more sense, but other than that it is mostly syntactic sugar.

    If you read the Wikipedia article on the subject, you’ll find two conflicting notations, Systems Hungarian Notation and Apps Hungarian Notation.

    The original, good, definition is the Apps Hungarian Notation, but most people use the Systems Hungarian Notation.

    As an example of the two, consider prefixing variables with l for length, a for area and v for volume.

    With such notation, the following expression makes sense:

    int vBox = aBottom * lVerticalSide; 

    but this doesn’t:

    int aBottom = lSide1; 

    If you’re mixing the prefixes, they’re to be considered part of the equation, and volume = area * length is fine for a box, but copying a length value into an area variable should raise some red flags.

    Unfortunately, the other notation is less useful, where people prefix the variable names with the type of the value, like this:

    int iLength; int iVolume; int iArea; 

    some people use n for number, or i for integer, f for float, s for string etc.

    The original prefix was meant to be used to spot problems in equations, but has somehow devolved into making the code slightly easier to read since you don’t have to go look for the variable declaration. With todays smart editors where you can simply hover over any variable to find the full type, and not just an abbreviation for it, this type of hungarian notation has lost a lot of its meaning.

    But, you should make up your own mind. All I can say is that I don’t use either.


    Edit Just to add a short notice, while I don’t use Hungarian Notation, I do use a prefix, and it’s the underscore. I prefix all private fields of classes with a _ and otherwise spell their names as I would a property, titlecase with the first letter uppercase.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am learning templates. Which book is worth buying for doing template programming? I
Impressed by is-latex-worth-learning-today , and many how-to's on Windows, How do you have someone
What are the features worth learning in the 0.11 release of CouchDB? What resources
Is it worth designing a system to expect test accounts and products to be
Is it worth it to develop WAP webpage for cellular since now cellular have
Hopefully a picture is worth a thousand lines of code because I don't want
Is it worth changing my code to be more portable and able to deal
Are primitives worth keeping? Should all the deprecated stuff be deleted? Do we need
Which C#/.NET Dependency Injection frameworks are worth looking into? And what can you say
Ruby is truly memory-hungry - but also worth every single bit. What do you

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.