3 ms·
Absolutely! This is why complex editing features don't thrive in the most Smalltalk environments; they simply aren't often used. Heck, 6-8 lines is a long Sma
by kencausey 15y ago
Absolutely! This is why complex editing features don't thrive in the most Smalltalk environments; they simply aren't often used. Heck, 6-8 lines is a long Smalltalk method, time to consider refactoring. ;)
- gnosis 15y agoThat'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...