2 ms·
That's nice. But I have a feeling there isn't just one method in your whole program. Having such short methods probably means that you'll wind up with many of
by gnosis 15y ago
That's nice. But I have a feeling there isn't just one method in your whole program. Having such short methods probably means that you'll wind up with many of them in most useful programs.
That means that you'll be spending a fair bit of your time editing, which means that you'll want the ability to use your editor of choice, rather than being forced to use someone else's editor of choice.
- fractallyte 15y agoSmalltalk programs typically consist of many short methods woven together in a pure OO fashion. Thus the focus is more on program structure than actual editing. This has follow-on effects: refactoring, TDD and patterns are so much easier when the code resides in tiny snippets. It's a whole new world, where the code is 'live' rather than merely contained in static 'dead' text files...