Re:Destroy All Ifs – A Perspective from Functional Programming
by mshenfield on Sunday July 17, 2016 @12:48AM
(#12109061)
Inversion of control both increases the user's power (anything that implements a certain interface can be used) and adds an extra burden. Especially here,
it takes a bit of thought to match the regex-like concept of "Case insensitive match flag" to "case insensitivity can be achieved by a transformation of the pattern and target so that case doesn't matter". Perhaps the right way to relieve this burden is to provide some simple functions that can be used for the common cases (caseInsensitive, caseSensitive) and a sensible default (caseSensitive).
[ Parent
| on HN ]
There are no comments on this comment yet.