Re:The unreasonable effectiveness of the Julia programming l...
by datanecdote on Friday October 09, 2020 @10:54AM
(#24730466)
That was mostly meant as a joke, thus the “;-)”
I don’t really care much about syntax choices, but my small complaint about “end” is that it takes up a line which reduces the amount of business-logic code I can fit on one screen, especially if you ever get into lots of nested loops and conditionals.
Re:The unreasonable effectiveness of the Julia programming l...
by Sukera on Friday October 09, 2020 @11:10AM
(#24730611)
To each their own, but I usually try to refactor when I hit too many nested loops or branched statements - it's usually a sign of missing some abstraction or trying to be too clever.
Re:The unreasonable effectiveness of the Julia programming l...
by datanecdote on Friday October 09, 2020 @11:21AM
(#24730729)
@Sukera
Fair, but, if I break up all the loops and if statements into functions, those functions still have “end”s
I personally like the "end"s because I like the symmetry and they're prettier than curly braces. Also, there are some syntax color themes that color the "end"s in a darker color in order to de-emphasize the "end"s, which can be nice depending on your taste.