2 karma · joined Oct 16, 2014 (12y ago) · 3 submissions
comment 12y ago · link · parent
foo(36,,,54)
sure it won't do if there are dozens but for the odd ugly case where you naughtily use optional parameters it's OK.
It sounds like there's a need for IDEs to show the parameter names all the time. They could just be inserted automatically into the display if you want to see them, or turn them off if you don't like that. Better than being always on like this proposal.
comment 12y ago · link · parent
Not only that, but why are you passing so many parameters like top, bottom, left, right? At least put them in a struct if you can't make them fields of the object itself.
This feature seems like "too little, too late". Maybe 30 years about it would have been helpful.