On 01/07/2013, at 1:45 AM, srean wrote: > > In effect you're saying this, given an example (I'm adding an extra - because > <- is already used and > means assignment to a pointer). > > y <-- g ( h ( x + y, 20 + k) + z); > > to do this: > > var t1 = x + y; > var t2 = 20 + k; > var t3 = t1, t2; > var t4 = h t3; > var t5 = t4 + z; > var t6 = g t5; > y = t6; > > > > Dont you think the former is clearer and easier to read and understand > immediately ?
No. Explain what happens here: var d = 0; var n = 1; var r <-- if d == 0 then 0 else n / d endif; > And "=" is not going away, its only when the user needs it. The = is going away. I have a plan to eliminate assignment. Instead we will use px <- v; The form x = v; will just be sugar for &x <- v; The only have I have where this is not already implemented is compact linear types, which will probably go away too. A lot of pain, and not being used.. -- john skaller skal...@users.sourceforge.net http://felix-lang.org ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ Felix-language mailing list Felix-language@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/felix-language