Follow

are there any languages that i dont know of that allow you to "open-air" function calls (call functions without parenthesises)

ones i know allow you to do this
* ruby
* perl

@boots i guess theres the old python "print" but does that count

@boots also BASICs sometimes have this to mimic the syntax of built-in functions, but most use some kinda "gosub", or dont have function abstraction at all

@boots ML languages like OCaml uses "open-air" function calls, and allow partial evaluation of function by not giving all arguments (returning a new function).

Forth is build around a stack and uses a postfix notation for function calls ("reverse polish" notation). As a consequence, it does not need parentheses.

Although lisp languages uses parentheses, they surround the function symbol and its arguments, resulting in something looking a bit like "open-air" calls.

Sign in to participate in the conversation
Computer Fairies

Computer Fairies is a Mastodon instance that aims to be as queer, friendly and furry as possible. We welcome all kinds of computer fairies!