6 ms·
Another reason I've heard for avoiding getFoo() is that on certain typefaces the lower-case "g" and "s" look similar enough that folks with bad vision can confu
by davvid 12y ago
Another reason I've heard for avoiding getFoo() is that on certain typefaces the lower-case "g" and "s" look similar enough that folks with bad vision can confuse them[1]. Thus foo() and setFoo() are clearer than getFoo() and setFoo().
[1] Given enough time in front of a monitor, we all get bad vision eventually ;-)
- plorkyeran 12y agoThat's easily solved by just not using typefaces that you can't read in your editor.