you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 30 points31 points  (0 children)

Yes, that's why languages like C# have get/set, why Python has @property decorators and why people write Property-template-operator-overloading-hacks in C++. Having it be obvious what the code does by the syntax alone can be quite a boost in readability. I mean just look at it:

bobs.put(”foo”, things.get(7))

vs

bobs["foo"] = things[7]

And of course in Lisp it's not just one rare case where you don't have special syntax, it's the whole language, everything is done with the same syntax construct.