• Cornify (unregistered)

    Regex as an "addon" to XML. Why not.

  • wonderb0lt (unregistered)

    "simpleType" — understatement of the century.

  • Sole Purpose of VIsit (unregistered)

    What mad PHB permitted this filth in the first place? Not that it's a working solution at any point, but consider the sheer "fun" of updating one of those rules ...

  • Sheriff Fatman (unregistered)

    Obligatory:

    https://stackoverflow.com/questions/1732348/regex-match-open-tags-except-xhtml-self-contained-tags/1732454#1732454

  • MiserableOldGit (unregistered)

    Ah, travel industry tech, a veritable gold mine of WTF. In my experience an unholy mix of every technology and passing fad you ever heard of (and several you didn't) cobbled together with XML, RSS, CSV and tab files dumped in shared directories, people typing manifests in from photographs of printouts on a wooden table.

    I would say this looks like it comes from inside the behemoth known as TUI, except someone at some point tried to put some guiding comments and a vaguely useful tag/variable naming convention in place, and that never happened. And I don't think I ever saw anyone use a regex there, even the right way.

  • foxyshadis (unregistered)

    "The danger of DSLs, of course, is that they’re often YAGNI in the extreme, or at least a sign that you don’t really need" is a great example of how not to write. It took a minute to associate "DSLs" with "domain-specific-languages" from the previous paragraph, because you didn't put (DSLs) after the term. And then I had to remember what YAGNI meant, because I guess I haven't had to snark about customer requests lately, but it's worth a link for noobs. The sudden cutoff without even a period was odd, as well.

  • foxyshadis (unregistered)

    Wow, the very first comment is now spam and it's NOT the one being "Held for moderation." That's inspiring. I guess They Just Didn't Care.

  • Matt Whitfield (unregistered)

    Surely TRWTF is the first paragraph ending in mid-sentence.

  • MiserableOldGit (unregistered) in reply to foxyshadis

    You haven't heard? TRWTF these days is TDWTF.

    We just come here to slag it off between surfing for dodgy essay writing services and cheap Viagra.

    Hmm, what's the chances of that passing moderation?

  • Steve_The_Cynic (nodebb) in reply to foxyshadis

    Yeah, I had to look up YAGNI, but it was fairly clear that "DSLs" didn't mean "Digital Subscriber Lines"...

    But I still have to blink a bit when people talk about "SDLC" because it's clear they don't mean "Synchronous Data Link Control".

  • BernieTheBernie (unregistered)

    Dies.Ist.Kein.Gültiger.Kommentar This.Is.Not.A.Valid.Comment

  • BernieTheBernie (unregistered)

    "Comment held for moderation." isn't the frist time that an invalid comment was entered.

  • RichP (unregistered)

    Comment held for moderation? Kids these days, don't know how lucky they have it. I remember getting stuck at wondering if "squares that include street signs" should include the sign post or not...

  • Haggishunter (unregistered) in reply to RichP

    I'm still not 100% sure that a square containing exactly one street sign qualifies as one of the set "squares with street signs". Still, my guess seems to have worked.

  • FormalWare (unregistered)

    "You shouldn’t use kitties to polish your car." I hope I meet this Stella, someday. She's witty.

  • Raystorm (unregistered)

    I feel like this link is Obligatory. I think the actual StackOverflow post was already linked, but still.

    https://blog.codinghorror.com/parsing-html-the-cthulhu-way/

  • Ulysses (unregistered)

    Worthwhile article held for moderation.

  • Derf Skren (unregistered)

    When you have a problem and you try to solve it with XML, you now have three problems: The original problem, the XML, and the regexes.

  • not a robot (unregistered) in reply to foxyshadis

    frist!

  • Friendly_Reminder (unregistered)

    Man benutzt keine Kätzchen um sein Auto zu polieren. You don't use kitties to polish your car.

  • MoronWCompiler (unregistered)

    regex101.com FTW

  • MiserableOldGit (unregistered) in reply to Friendly_Reminder

    I never, ever polish my car.

    If I did, I'd only use the finest, fluffiest kitties, and lots of them.

    Just to make a change from all the xkcd links http://www.27bslash6.com/opinions.html

  • Ex-lurker (unregistered) in reply to FormalWare

    And she is right. Not only it is a poor use of kittens, it's a sure way of ending with your car covered in scratches. Younger cats aren't really "economical" with their sharp little nails after all.

    (There's also the matter of animal abuse but I think someone who's willing to use a living cat as a rag isn't bothered by that anymore.)

Leave a comment on “A Dumbain Specific Language”

Log In or post as a guest

Replying to comment #:

« Return to Article