Banjo

52 thoughts
last posted Nov. 9, 2015, 7:13 p.m.

17 earlier thoughts

0

Mid-expression assignment

There's this slightly annoying repetition when one wants to use the same expression twice... you declare it and use it twice. In theory one could declare it as part of the first use. However, this would decrease readability. Something to ponder, perhaps:

a = b + c
k = a + 1
j = a / 2

vs

k = (a = b + c) + 1
j = a / 2

34 later thoughts