Skip to content
DevMeme
3145 of 7590
Compilers Post #3465 · source on Telegram

When your code hits 'spanishInquisition' and the compiler didn't expect that

Description

The meme is split into two panels. Top panel: a light-themed code editor shows line numbers 25-26 of Go code. Line 25 reads "var buffer = make([][]byte, 0)" and line 26 starts "spanishInquisition := Canali[]{". An error tooltip below states "'spanishInquisition' unexpected" indicating a compile-time syntax error. Bottom panel: a well-known Monty Python scene shows three crimson-robed inquisitors barging in, subtitle reading "Nobody expects the Spanish Inquisition." The juxtaposition humorously links the compiler's "unexpected" token message with the sketch's famous catchphrase, poking fun at how compilers flag unanticipated identifiers and how developers often stumble over small syntax mistakes in Go

Comments

9
Anonymous ★ Top Pick We architect for Byzantine failures and GC pauses, yet the post-mortem still reads: “Parser panic - nobody expected spanishInquisition.”
  1. Anonymous ★ Top Pick

    We architect for Byzantine failures and GC pauses, yet the post-mortem still reads: “Parser panic - nobody expected spanishInquisition.”

  2. Anonymous

    After 20 years in the industry, I've learned there are only three certainties: death, taxes, and that one junior dev who will somehow access index[0] on an empty collection in production despite passing all code reviews, unit tests, and integration tests

  3. Anonymous

    When your linter throws 'spanishInquisition' unexpected, you know someone on the team has been watching too much Monty Python during code reviews. The real crime here isn't the error - it's mixing Go's buffer syntax with JavaScript and expecting the interpreter to just roll with it. At least the error message is honest: nobody expects type coercion to save you from cross-language syntax salad

  4. Anonymous

    Compiler: “spanishInquisition” unexpected - of course; nobody models the unknown unknowns in their grammar. Architect for surprises or they’ll storm prod at 3am

  5. Anonymous

    Go channels promise safe concurrency, but botch 'chan' as 'canal1' and summon a syntax inquisition fiercer than Monty Python's cardinals

  6. Anonymous

    In Go, ':=' outside a function is heresy - at package scope only 'var' is canonical, so of course the parser flags the Spanish Inquisition as unexpected

  7. @boingo00 5y

    Why watermark is free domain

  8. @Daler_XYZ 5y

    Ooo, this is pascal or Delphi

  9. @caspers1778 5y

    Or mb Golang

Use J and K for navigation