6
\$\begingroup\$

Example questions:

Simple calculator
Java Calculator
Console calculator
Ruby Kata Gem: Calculator
Calculator - C++ operator-overloading
Small Python calculator
Calculator using class templates
Shortening calculator project code
Simple Java calculator
String calculator kata
String calculator in F#
Basic android calculator
Basic calculator in jQuery
Calculator Android App
Refactoring a String Calculator
Calculator with simple input
Basic C# calculator (+,-,*,/) - V2
Basic C# calculator (+,-,*,/)

Much like , , or , calculators are one of the first things one may be asked to program in order to learn a language. I think it would be helpful to have a tag for the many calculators.

So, how about ?

\$\endgroup\$
  • 4
    \$\begingroup\$ Yes, definitely. The question should be: what should be the defining characteristics of a calculator? \$\endgroup\$ – 200_success Feb 12 '15 at 11:56
  • \$\begingroup\$ It does arithmetic on input numbers. ... with that being the main goal. \$\endgroup\$ – Pimgd Feb 12 '15 at 11:56
  • 1
    \$\begingroup\$ I guess your real question is; is a tax calculator worthy of the calculator tag? That I don't know just yet. \$\endgroup\$ – Pimgd Feb 12 '15 at 11:57
  • \$\begingroup\$ We didn't have a tag for this already...? Strange! \$\endgroup\$ – Simon Forsberg Feb 12 '15 at 12:39
4
\$\begingroup\$

Yes, go ahead and create it. The Stack Overflow tag has the description:

This tag is for questions about calculators, or calculator programming.

I would recommend reusing the excerpt, like:

This tag is for questions about calculators.

but adding the wiki text:

Calculator questions have the basic concept that it supports the input of a sequence of values and operators, and the program computes the result. The format used for the input, whether it is Postfix (also called RPN - Reverse Polish Notation) like 3 4 + or Infix like 3 + 4 should be clarified in the question

\$\endgroup\$
  • \$\begingroup\$ Thanks for wiki texts \$\endgroup\$ – Pimgd Feb 12 '15 at 12:40
  • \$\begingroup\$ Evaluating postfix and infix expressions would be better covered under math-expression-eval. We might want a narrower definition of calculator. \$\endgroup\$ – 200_success Feb 12 '15 at 17:38
  • \$\begingroup\$ Why not include prefix notation for 100% coverage? This pedantry in the tag might preempt pedantry in the comments. \$\endgroup\$ – ben rudgers Feb 14 '15 at 0:28

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .