r/ProgrammerTIL • u/mehdifarsi • Dec 20 '22
Other Acing your technical test: Evaluating a math expression in Ruby
A Ruby implementation of a math expression evaluator in a few lines of code
8
Upvotes
View all comments
Show parent comment
2
u/hiimbob000 Dec 21 '22
Only handles plus or minus so it's far from a complete solution but order doesn't matter in this case