Coffeehouse Post

Single Post Permalink

View Thread: I cringe at those basic math question posted on the web.
  • User profile image
    evildictait​or

    @Sven Groot:

    Good old BODMAS:

    Brackets
    Power Of
    Division
    Multiplication
    Addition
    Subtraction

    Tbh, though, I think the whole thing is silly. If it's not immediately obvious what the order is, use brackets. Brackets are free, and readable code/math is always better than "clever" code or math.