Object-oriented languages are great, aren't they? It does get tiring, though, writing all of those method stubs for the getter / setter methods for object member variables. In keeping with Larry Wall's 1st virtue of a programmer, I've created the Getter & Setter Generator. You can simply enter a white-space delineated list of member variable names and the tool will generate the method stubs for the getter and setter methods for these items. At present, only PHP is supported but additional languages will be added as I find a need to add additional languages.
...and for the uninitiated, Larry Wall's 3 virtues of a programmer should be memorized...
Getter / Setter Method Generator
Filed Under:
Tools
3 comments have been posted so far...




