Discussion about this post

User's avatar
Duncan McGregor's avatar

More and more these days I find I turn to explaining function name rather than explaining variable name. So I end up writing

return widthFor(a, b, d, z) * heightFor(a, b, c, y)

Valentin Tudor Mocanu's avatar

We can have more elements to simplify if the rules of generating these elements are pretty clear. Anyway, there are some exceptions, at least for extra-classes.

2 more comments...

No posts

Ready for more?