Comparison of Programming Languages (syntax) - Expressions

Expressions

Programming language expressions can be broadly classified in three classes:

prefix notation

  • Lisp (* (+ 2 3) (expt 4 5))

infix notation

  • Fortran (2 + 3) * (4 ** 5)
  • TUTOR (2 + 3)(45) $$ note implicit multiply operator

suffix, postfix, or Reverse Polish notation

  • Forth 2 3 + 4 5 ** *

Read more about this topic:  Comparison Of Programming Languages (syntax)

Famous quotes containing the word expressions:

    Let it be signified to me through any channel ... that the possession of the Floridas would be desirable to the United States, and in sixty days it will be accomplished.
    ...penned in the language of truth, and divested of those expressions of servility which would persuade his majesty that we are asking favors and not rights.
    Thomas Jefferson (1743–1826)

    Each child has his own individual expressions to offer to the world. That expression can take many forms, from artistic interests, a way of thinking, athletic activities, a particular style of dressing, musical talents, different hobbies, etc. Our job is to join our children in discovering who they are.
    Stephanie Martson (20th century)

    Many expressions in the New Testament come naturally to the lips of all Protestants, and it furnishes the most pregnant and practical texts. There is no harmless dreaming, no wise speculation in it, but everywhere a substratum of good sense. It never reflects, but it repents. There is no poetry in it, we may say, nothing regarded in the light of beauty merely, but moral truth is its object. All mortals are convicted by its conscience.
    Henry David Thoreau (1817–1862)