Re:Show HN: Tofu -- (Yet another) C web framework
by al3xbio on Tuesday January 03, 2012 @10:35AM
(#3419931)
I actually find "->" with spaces cleaner and easier to read (just like with almost all the other operators). The "->" operatore without spaces around is very popular (also in Perl code AFAICS), and I sometimes wonder why people do put spaces around e.g. "+" and "=" but not "->".
What is almost always written as "a->b = c;" is written as "a -> b = c;" in the Tofu code.
I guess doing so makes sense if you also promote writing "a = b + c;" (which I do), but it was still novel-looking, to me. I guess you can treat -> as any other binary operator.