3 ms·
Are you suggesting that the difference between a.foo(b) and foo(a, b) is analogous to the difference between goto and functions? Functions give structure and re
by wtetzner 9y ago
Are you suggesting that the difference between a.foo(b) and foo(a, b) is analogous to the difference between goto and functions? Functions give structure and restrictions to goto. Method syntax is just a different way to write the exact same thing.
- gnaritas 9y agoI'm suggesting all of programming is syntactic sugar. Calling something syntactic sugar is not a valid critique.
- wtetzner 9y ago> I'm suggesting all of programming is syntactic sugar. I wasn't critiquing anything, just suggesting that moving the first argument of a function call to come before a . isn't enough to consider something OO.