Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by Findecanor

6 days ago

There are languages in which `if` is a function.

In in Tcl, `if` is called a "command".

3 comments

Findecanor

Reply

jamesfinlayson  5 days ago

Yes I stand corrected - we were using C so definitely not a function there.

spacechild1  6 days ago

Also in Smalltalk and sclang (Supercollider language)

  • kitd  6 days ago

    Or anything Lispy

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities