0
Real valued variable
Suppose that a software developer decides to use a real-valued variable to represent the number of printers connected to a computer. why this is a bad idea?
2 Réponses
+ 1
Well, if you're writiting JavaScript, this is what you are doing.
Otherwise, it's just silly. If you have a small number of printers it can work, but I'd always fear the equality operator.
+ 1
What about 2.639 connected printers?