25

The phrase was used as a warning that the code was pulling some serious stunts. My google search for this is pulling up nada; but I remember someone doing a search of google source for the phrase quite a while back.

in lies dragons?

dragons sleep here...

Bah...

Prof. Falken
  • 24,226
  • 19
  • 100
  • 173
CrashCodes
  • 3,237
  • 12
  • 38
  • 42

5 Answers5

47

Here be Dragons.

originally sourced from old maps, not that any old maps actually used the term!

PS. Not recommended to use the original latin "hic sunt dracones" unless you want to be really nerdy and appear superior to future code maintainers :)

gbjbaanb
  • 51,617
  • 12
  • 104
  • 148
9

// Here be dragons


An example is in the source code of HipHop for PHP, at line 649 of /src/runtime/ext/ext_imagesprite.cpp as of July 13, 2012:

// Here be dragons. Thou art forewarned

If for some reason the programmer(s) doesn't quite understand what the code is doing, a comment saying "here be dragons" means that the code is "uncharted territory".

(Note my username :P)

bwDraco
  • 2,514
  • 2
  • 33
  • 38
5

Here be dragons

alanc10n
  • 4,897
  • 7
  • 36
  • 41
3

"Here be dragons" is displayed when you go to about:config in the address bar in Firefox.

Edit: Please note I'm in the UK so this may be locale specific.

Daniel Hollinrake
  • 1,768
  • 2
  • 19
  • 39
  • Disregard the previous comment--I just read through the source code, and it seems the "Here be dragons!" warning is shown in the en-GB localization, but not in en-US. – bwDraco Nov 06 '12 at 08:07
  • Here's the `config.dtd` file in Firefox 16.0.2, en-GB localization: http://pastebin.com/43yctp4f – bwDraco Nov 06 '12 at 20:49
  • 3
    *(continuation of previous comment)* The phrase "**Here be dragons!**" appears on line 41 of the above DTD file. For en-US users, this phrase would be "**This might void your warranty!**" – bwDraco Nov 06 '12 at 20:57
1

Search over GitHub repositories shows 1,904 occurrences of "Here be dragons": https://grep.app/search?q=Here%20be%20dragons.

Examples:

ilyazub
  • 1,226
  • 13
  • 23