IT terminology queries

Post a reply


In an effort to prevent automatic submissions, we require that you complete the following challenge.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :| :mrgreen: :geek: :ugeek: :arrow: :angel: :clap: :crazy: :eh: :lolno: :problem: :shh: :shifty: :sick: :silent: :think: :thumbup: :thumbdown: :salute: :wave: :wtf: :yawn: :facepalm: :bravo: :dance: :beard: :morebeard: :xmas: :HeHe: :trollface: :cookie: :rainbow: :monkeysee: :monkeysay: :happybday: :headwall: :offtopic: :superhappy: :terms: :beer:
View more smilies

BBCode is ON
[img] is OFF
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: IT terminology queries

Re: IT terminology queries

Post by nnnik » 05 May 2019, 03:19

'if-else-if'
if-else does not denote a ladder including multiple ifs.
'if-else-if-else' the last else (or any additional ifs) is already implied so this is too long.

It seems to me like the names for fat arrow functions, arrow functions or lambda expressions is completely random.

IT terminology queries

Post by jeeswg » 04 May 2019, 16:30

This thread is intended for queries about terminology. I'll start with two.

Which do you prefer? Do other alternatives exist?

fat arrow function [common?]
fat-arrow function [better?]
[generally words are hyphenated]

if-else-if ladder [common?]
if/else ladder [better?]
[why call it 'if-else-if' and not 'if-else' (shorter) or 'if-else-if-else' (more accurate)]

Code: Select all

if (var = "a")
	MsgBox, % "a"
else if (var = "b")
	MsgBox, % "b"
else if (var = "c")
	MsgBox, % "c"
else
	MsgBox, % "other"

Top