Conditional structures: Difference between revisions

m
Use a proper mediawiki wikipedia link, remove over enthusiastic whitespace, reformatted slightly to match preexisting
(add description and justification for other conditionals)
m (Use a proper mediawiki wikipedia link, remove over enthusiastic whitespace, reformatted slightly to match preexisting)
Line 4:
 
;Task:
List the   ''conditional structures''   offered by a programming language. See https[[wp://en.wikipedia.org/wiki/Conditional_(computer_programming)|Wikipedia: conditionals]] for a descriptiondescriptions.
 
Common conditional structures are    include '''if-then-else'''     and     '''switch'''. Less common structures are ''arithmetic if'', ''ternary operator'' and ''Hash-based conditionals''.
''Arithmetic if'' allows tight control over computed gotos, which optimizers have a hard time to figure out.
 
Less common are '''arithmetic if''', '''ternary operator''' and '''Hash-based conditionals'''.
<br><br>
 
'''''Arithmetic if''' allows tight control over computed gotos, which optimizers have a hard time to figure out.''
 
<br><br>
 
=={{header|11l}}==
10,327

edits