LiveScript is a language which compiles to JavaScript. It has a straightforward mapping to JavaScript and allows you to write expressive code devoid of repetitive boilerplate. While LiveScript adds many features to assist in functional style programming, it also has many improvements for object oriented and imperative programming.
hey, what if livescript introduce shorthands to those basic statements?
not a real issue, just a question to discuss maybe.
if a > b
true
else if a < b
true
may become
if a > b
true
ef a < b
true
comparisons are perfectly aligned - is it better for code readability?
i've noticed new versions of php have both else if and elseif valid syntax constructs, also, python has elif statement that is perfectly aligned with else..
hey, what if livescript introduce shorthands to those basic statements? not a real issue, just a question to discuss maybe.
may become
comparisons are perfectly aligned - is it better for code readability? i've noticed new versions of php have both
else if
andelseif
valid syntax constructs, also, python haselif
statement that is perfectly aligned withelse
..