4 ms·
You don't need an IDE but it solves problems like "I don't want to chain my methods because my weak debugger can't handle it well".
by mike_hearn 8y ago
You don't need an IDE but it solves problems like "I don't want to chain my methods because my weak debugger can't handle it well".
- sagichmal 8y agoChained method calls being difficult to debug does not necessarily mean using a debugger. It can mean difficult to insert clarifying code in the middle of the chain: print statements, or additional value checks, and so on.
- bmurphy1976 8y agoChained methods also don't diff as clearly (the one liners anyway).
- pjmlp 8y agoThey do on GUI diff tools by using different colors.
- Cthulhu_ 8y agoIt's still not as clear as just splitting across lines, plus in most tools you need to explicitly indicate you want to highlight word diffs. But more abstractly speaking: are chained calls, from the POV of a human that didn't write it, or wrote it two months ago, more readable than a number of statements on multiple lines?