4 ms·
Could swap the function name and argument list, so DoSomething(x,y,z) would become (x,y,z)DoSomething. I admit it's a little weird, but not so weird people cou
by jlarocco 13y ago
Could swap the function name and argument list, so DoSomething(x,y,z) would become (x,y,z)DoSomething.
I admit it's a little weird, but not so weird people couldn't get used to it.
- arethuza 13y agoIt's not that weird - you've pretty much described what a function call would look like in a language that uses Reverse Polish e.g. PostScript x y x DoSomething However, I don't think I've seen an IDE for PostScript or Forth
- Pxtl 13y agoBut then we've lost another level of discoverability - putting the method name first also gives you information about the arguments for the method.