Unction: meaning, definitions and examples

⚙️
Add to dictionary

unction

 

[ ˈfʌŋkʃən ]

Noun
Context #1 | Noun

computer science

A function is a self-contained block of code that encapsulates a specific task or related group of tasks in programming. It can take inputs, perform a specific operation, and return an output. Functions help to organize code and make it reusable.

Synonyms

method, procedure, routine, subroutine

Examples of usage

  • The function calculates the sum of two numbers.
  • In JavaScript, functions can be defined using the function keyword.
  • You'll need to call the function to execute the code inside.
  • They wrote a function to fetch data from the server.

Translations

Translations of the word "unction" in other languages:

🇵🇹 função

🇮🇳 कार्य

🇩🇪 Funktion

🇮🇩 fungsi

🇺🇦 функція

🇵🇱 funkcja

🇯🇵 関数

🇫🇷 fonction

🇪🇸 función

🇹🇷 fonksiyon

🇰🇷 함수

🇸🇦 وظيفة

🇨🇿 funkce

🇸🇰 funkcia

🇨🇳 函数

🇸🇮 funkcija

🇮🇸 fall

🇰🇿 функция

🇬🇪 ფუნქცია

🇦🇿 funksiya

🇲🇽 función

Etymology

The term 'function' originates from the Latin word 'functio' which means 'performance, execution'. Its use in mathematics can be traced back to the 17th century, when mathematicians began using the term to describe relations between variables. In the context of computer science, 'function' gained prominence in the mid-20th century as programming languages evolved. Early languages such as Fortran and Lisp utilized functions as fundamental building blocks for code, allowing for abstraction and code reuse. The concept of a function encompasses a wide range of interpretations today, but it usually signifies a segment of code defined to carry out a specific task.

Word Frequency Rank

Positioned at #22,494, this word is part of extensive vocabulary. It's relatively rare in general usage but may be important in specific fields or formal writing.