• @[email protected]
    link
    fedilink
    English
    3619 days ago

    Regular expressions are not that difficult and coders that refuse to learn them because they “look like line noise” are terrible at their jobs.

    • @[email protected]
      link
      fedilink
      1319 days ago

      I can write a basic regex independently, but as soon as capture groups or positive/negative lookahead or lookbehind start popping up I’m back to the docs every time.

      • @[email protected]
        link
        fedilink
        English
        1219 days ago

        Absolutely, the syntax is difficult to remember, but knowing about concepts like lookaheads etc. is already far beyond what “regex is line noise” coders will ever achieve.

    • @[email protected]
      link
      fedilink
      619 days ago

      Level 2 of these people: learn regex and try to parse something non-regular like XML or C++ templates with it.

      Same people who did not pay attention and hated the “useless” formal languages lecture in university and who have no clue about proper data structures and algorithms for their problem, just hack together some half-working solution and ship it. Fix bugs with extra if statements instead of solving the real issue. Not writing unit tests.

      Soo many people in software development who really should not be there.

    • @[email protected]
      link
      fedilink
      English
      118 days ago

      I’ve always thought that regular expressions are just specifications for state machines. They aren’t that difficult.