Re:We Can Do Better Than SQL
by jasonpbecker on Tuesday August 11, 2020 @08:17AM
(#24119503)
That assumes a very OO mindset. method(object, args)/function(data, parameters) works better in other languages, and IDEs can handle this quite well without dot syntax.
Which goes to your point-- form follows function, in syntax as with many other things.
Re:We Can Do Better Than SQL
by gvjddbnvdrbv on Tuesday August 11, 2020 @08:09AM
(#24119455)
Why is dot special? Fortran uses % (if I remember properly) IDE's can complete after a % as well as after a dot.
Dot is not special. Putting the receiver objects first is special, because it allows the IDE to only show verbs (methods) that pertain to that object. If you put the verb first, code completion lacks context, so it would necessarily have to show you all verbs that can apply to any object that could conceivably be acted on in that scope.
Also there's a non-language related advantage of dot notation. Type the name of the object, press dot and IDE will show you what things you can do with that object. You don't have that with other notations.