PLDB
Languages Features Calendar CSV Lists Blog About Sponsor Add Language
GitHub icon

Functions

Functions

Functions are a feature.

In computer programming, a subroutine is a sequence of program instructions that performs a specific task, packaged as a unit. This unit can then be used in programs wherever that particular task should be performed. Subprograms may be defined within programs, or separately in libraries that can be used by many programs. Read more on Wikipedia...


Languages without Functions include CSS

Languages with Functions include JavaScript, Python, PHP, Ruby, R, Scala, Ada, Lua, Kotlin, PowerShell, Erlang, Julia, Reason, Bash, Crystal, F#, Verilog, Solidity, OCaml, Groovy, VHDL, ABAP, X10, F*, SystemVerilog, Opa, ATS, Koka, IGOR Pro, Jule, Eclipse Command Language, Q#, Ligo, Sophia

Example from JavaScript:
function helloWorld() {console.log("hi")}
Example from Jule:
fn a_function() { // ... }
bitwise-operaters-feature.html 路 functions-feature.html 路 maps-feature.html

View source

PLDB - Build the next great programming language 路 v2022 Day 33 Docs Build Acknowledgements Traffic Today Traffic Trends Mirrors GitHub feedback@pldb.com