News for hackers. Stuff that matters.
Re:Write code that is easy to delete, not easy to extend by bbcbasic on Sunday February 14, 2016 @02:19PM (#11099566)
Ok so you are happy with this?

    Model
        .where(...)
        .foo { ... }
        .flatten
        .bar { ... }
        .join(...)
In Visual studio it doesn't really make a difference from a debugging perspective. However in other debugging tools perhaps it does, and in that case I would tend to agree. But then this is a minor point, something that can be covered with a coding standard and linting the source.
Re:Write code that is easy to delete, not easy to extend by mathgeek on Sunday February 14, 2016 @05:31PM (#11100304)
Actually, yes. That's exactly what I'm advocating. Whether they are separate assignments or just chains broken up into multiple lines, the end is the same as far as what I'm talking about.