IT terminology queries

Talk about anything
User avatar
jeeswg
Posts: 6902
Joined: 19 Dec 2016, 01:58
Location: UK

IT terminology queries

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"
homepage | tutorials | wish list | fun threads | donate
WARNING: copy your posts/messages before hitting Submit as you may lose them due to CAPTCHA
User avatar
nnnik
Posts: 4500
Joined: 30 Sep 2013, 01:01
Location: Germany

Re: IT terminology queries

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.
Recommends AHK Studio

Return to “Off-topic Discussion”

Who is online

Users browsing this forum: sofista and 115 guests