2 ms·
Making "junior" developers solve problems with regex sounds like a recipe for terrible maintainability, unless it is necessary
by pekk 13y ago
Making "junior" developers solve problems with regex sounds like a recipe for terrible maintainability, unless it is necessary
- rallison 13y agoI do actually somewhat agree here. If one doesn't know what they are doing, it is very easy to do regular expressions incorrectly. That said, regex is sometimes necessary, so it is important for developers to be competent in this realm. In my opinion, ideally, junior developers would start with using them in non-production environments to become familiar, then go from there. It is also important to be able to distinguish which problems should be solved by regular expressions, and which shouldn't. A good mentor here can be great.