Skip to content
DevMeme
4868 of 7590
AI ML Post #5329 · source on Telegram

GitHub Copilot's pedantic refusal to acknowledge templating as programming

Description

A screenshot of a conversation with GitHub Copilot. A user provides a snippet of Django HTML template code, which includes for-loops, and asks Copilot to create SCSS styling for it. Copilot responds, 'Sorry, but I can only assist with programming related questions.' The user replies, 'How is that not programming?'. Copilot then delivers a pedantic explanation, stating that Django HTML is a 'templating language' and 'not considered a programming language in the traditional sense' because it lacks the 'full range of features.' The humor stems from the AI's overly literal and unhelpful distinction, a frustratingly common experience for developers using early AI assistants. Most developers would consider working with logic-infused templates a core part of programming

Comments

18
Anonymous ★ Top Pick Copilot is technically correct in the most useless way imaginable. It's the AI equivalent of a junior dev who just read a book on compilers and now insists HTML isn't code. We get it, it's not Turing complete, now please just write the CSS
  1. Anonymous ★ Top Pick

    Copilot is technically correct in the most useless way imaginable. It's the AI equivalent of a junior dev who just read a book on compilers and now insists HTML isn't code. We get it, it's not Turing complete, now please just write the CSS

  2. Anonymous

    Copilot: “Django templates aren’t real code.” Me: “Great - when an unescaped {{ user_input }} turns prod into an XSS festival at 3 a.m., I’ll just log the outage as performance art.”

  3. Anonymous

    After 20 years of arguing whether HTML is a programming language, we've finally achieved consensus: even our AI assistants are now gatekeeping what counts as 'real programming.' Next up, Copilot will refuse to help with YAML because 'it's just configuration, not code.'

  4. Anonymous

    Ah yes, the classic AI assistant gatekeeping what counts as 'real programming' - because clearly, Django templates with control flow, variable interpolation, and logic aren't programming enough. Next, Copilot will tell us SQL isn't programming either since it's 'just' a query language. Meanwhile, senior engineers know that dismissing templating languages is peak junior behavior - we've all debugged enough Jinja2 nightmares at 2 AM to know that if it can create production incidents, it's programming

  5. Anonymous

    Copilot's context window: big enough for Cicero, too small for Django docs

  6. Anonymous

    Copilot: “Django templates aren’t programming.” Cool - neither is YAML and it runs prod; now write the BEM SCSS before the cascade weaponizes those 10 buttons into a postmortem

  7. Anonymous

    Copilot declaring Django templates "not programming" is peak AI PM - right up until a "just CSS" BEM refactor invalidates selectors, nukes the cache, and pages you at 2 a.m

  8. @ZgGPuo8dZef58K6hxxGVj3Z2 3y

    HAHAHAHHAHAHAHA

  9. @seyfer 3y

    ChatGPT would do an attempt anyway

    1. @SomeWhereIBelong 3y

      True. Chatgpt just makes shit up if it doesnt know how to do sth

  10. @s3rv3rslvt 3y

    Just use tailwind

    1. @RiedleroD 3y

      I've had to use it in my internship, and no. don't do that. write preprocessed CSS.

      1. @s3rv3rslvt 3y

        But why? Single major inconvenience of tailwind is large ugly markup, but it is easily solved by building reusable components

  11. @AlexAparnev 3y

    Jokes gone too far in train data)

  12. @Araalith 3y

    While Django isn't a programming language it's still related to programming.

    1. @RiedleroD 3y

      while I'm not a tankie, I'm related to one. doesn't mean that a tankie AI can parse me …ok, to be fair, that's a terrible analogy

  13. @maggelia 3y

    Well that's just bs Liquid is Turing complete

  14. @RiedleroD 2y

    because it's just a glorified preprocessed style attribute

Use J and K for navigation