Tabloid: The Clickbait Headline Programming Language

(tabloid.vercel.app)

219 points | by sadeshmukh 8 hours ago ago

33 comments

  • lxgr 5 hours ago ago

    Missed opportunity to title the post/submission “Will this programming language revolutionize software development?” :)

    • nine_k 5 hours ago ago

      I hope error messages say

        YOU WON'T BELIEVE WHAT YOU'LL SEE IN LINE ${line_number}
      • halapro 3 hours ago ago

        Errors should be thrown as TRULY EXCEPTIONAL

  • gnabgib 7 hours ago ago

    Popular in:

    2020 (245 points, 38 comments) https://news.ycombinator.com/item?id=24578749

    2024 (217 points, 29 comments) https://news.ycombinator.com/item?id=40964261

  • Ancapistani 3 hours ago ago

    How about CONSIDERED HARMFUL as a postfix negation operator?

  • illusive4080 8 hours ago ago

    Missed opportunity for loops to be

    BREAKING NEWS … KEEP READING TO DISCOVER

  • NamlchakKhandro 7 hours ago ago

    Now we just need the companion turing complete languages:

    Thunderfoot - write screenplays for youtube videos debunking articles written in Tabloid

    Fisker - Writes troll posts to discord/irc/steam community to highlight how awesome TOPIC in AWESOME ARTICLE written in Tabloid is

    Shitlist - Generates awesomelists repos on github for TOPIC

    • wartywhoa23 5 hours ago ago

      .BOT - Controls botfarms with built-in shill primitives on the X virtual machine, successor to BitMusk

  • k310 7 hours ago ago
  • Jeremy1026 7 hours ago ago

    BREAKING NEWS! This is the perfect amount of stupid. I'm going to see if I can't convince my team to convert our codebase over ASAP. FOLLOW ME to find out how it goes.

    • swyx 7 hours ago ago

      you forgot to

      PLEASE LIKE AND SUBSCRIBE

      now the program doesnt terminate

  • fjfaase 2 hours ago ago

    I used this language in a workshop on parser construction at MCH2022. The particepants where asked to construct the grammar for the language, which proved harder than I had expected for most of them.

  • cat-whisperer 4 hours ago ago

    If you make sure it follows the style of COBOL. we can document it in the history books!

    • zoom6628 3 hours ago ago

      I look forward to the implementation of the TACO instruction.

  • hunterpayne 4 hours ago ago

    So brainrot and brainfuck had a baby?

  • gnarlouse 6 hours ago ago

    Missed opportunity:

    The joke should be that regardless of the program you write, nothing happens. No real signal, just like most real clickbait content.

  • noduerme 7 hours ago ago

    This is refreshingly ridiculous.

  • dbacar 5 hours ago ago

    The title of the post should have been "SHOCKING DEVELOPMENT".

  • BrenBarn 4 hours ago ago

    Write amazing programs with this one weird trick

  • halapro 3 hours ago ago

    I'm more of a KTHXBYE kinda guy.

  • arendtio 4 hours ago ago

    I think it could be improved by ADDING A FEATURE with multiple texts for the same mechanic.

    Less repetitive == MORE AWESOME

    And of course, harder to learn/understand.

  • holysoles 5 hours ago ago

    Love the energy and keyword selections. But also probably a great exercise to have gone through that I've always considered doing

  • arvigeus 2 hours ago ago

    Not written in Rust? Instant pass!

  • zamadatix 3 hours ago ago

    This gave me a laugh! Some variation of "the Top Five Most Popular Quirks and Features" from the description could be a good way to define arrays on size n (e.g. perhaps numerical instead of Five).

  • jonplackett 3 hours ago ago

    This is the heart and soul of hacker news

    • nython 3 hours ago ago

      I thought that was maison d'errorier

  • csmantle 6 hours ago ago

    This would benefit from combining the literal rules from TrumpScript [0]:

    > All numbers must be strictly greater than 1 million. The small stuff is inconsequential to us.

    [0]: https://github.com/samshadwell/TrumpScript

  • paultopia 7 hours ago ago

    It’s been too long since something like this has happened. Kudos.

  • hamasho 5 hours ago ago

    Love `TOTALLY RIGHT` and `COMPLETELY WRONG` as boolean, but `TRUTH` and `FAKE NEWS` sounds better. Too much social media consumption makes me feel that "truth" or "fact" are kinda sarcastic.

    It also reminds me TrumpScript: https://github.com/samshadwell/TrumpScript

    • kruffalon 3 hours ago ago

      But... Which one of TRUTH and FAKE NEWS is the equivalent of boolean TRUE and FALSE respectively????

      The original options are more clear imo, even though they show their age.

      • hamasho 2 hours ago ago

        You're right, I'm not sure neither... Probably it should be FACT and ALTERNATIVE FACT and no one knows what means what.

  • AbuAssar 6 hours ago ago

    this is hilarious, thanks for the laughs!

  • dcdc123 5 hours ago ago

    I love it.