naming conventions - What is the correct generic name for the data structure in a calculator app that holds the numeric display -


This will hold a string and add letters (numerical, or decimal point) and will be removed from the right. Ignore the case of negative numbers for simplicity.

Is there a consensus name on this type of data structure? register? Buffer? Display? anything else?

Update: This is an internal representation and there is no final form of some calculation. It can be input for a later calculation (by changing it in a number, of course).

You can apply it using a stack. A stack is the last-out-first-out (LIFO), as you are describing with performance.

But if you are looking for something to name your calculation results, then I agree that most of the answers which were said "result" or "performance": - P

< / Div>

Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -