Skip to content

Instantly share code, notes, and snippets.

@PtrMan
Created May 24, 2017 17:05
Show Gist options
  • Select an option

  • Save PtrMan/39345ded8211be3db46741998f9695b7 to your computer and use it in GitHub Desktop.

Select an option

Save PtrMan/39345ded8211be3db46741998f9695b7 to your computer and use it in GitHub Desktop.
FB frozen code dumpz
Richard Loosemore
22. Mai um 20:21
Okay, this is driving me crazy and I apologize for bothering people here, but what is the term used for those regions of a big codebase that are have been put off limits, because fixing bugs in those areas only causes more bugs to crop up elsewhere? "Unmaintainable code" is used, but I could have sworn that there was another term for "do not touch" regions?
Gefällt mirKommentierenTeilen
Kommentare
Richard Loosemore
Richard Loosemore I wanted to use it as an example of where complicated shades off into complexity.
Gefällt mir · Antworten · 22. Mai um 20:22
Mike Sellers
Mike Sellers I know what you mean (and "frozen" as Peter Rothman said below is what I've seen used in the past), but this isn't exactly the difference between complicated and complex. Very briefly, the difference I've seen referenced (and use myself) is that a complicated process is one with lots of links or connections, but they're all linear: none recur to create loops. Complex processes necessarily have looping interactions.
Which, I guess, does apply to what you're talking about, since there's a looping interaction somewhere in the code that causes bugs to pop up elsewhere, so you just wall off the entire mess and hope no one notices!
Gefällt mir · Antworten · 1 · 22. Mai um 20:41
Mike Dougherty
Mike Dougherty I use this explanation for complex vs complicated:
The flatware drawer in the kitchen has complex insertion rules that make retrieval easy. The junk drawer has easier insertion rules that makes retrieval complicated.
Gefällt mir · Antworten · Gestern um 02:25
Robert Wünsche
Schreibe eine Antwort ...
Datei auswählen
Correy Kowall
Correy Kowall Private.
Gefällt mir · Antworten · 22. Mai um 20:23
Richard Loosemore
Richard Loosemore No. :-) That is not it. I mean, when really really bad code has to be fenced off, because the corporation controlling the codebase knows that efforts to fix bugs in there ALWAYS lead to more new bugs being created, than old ones fixed.
Gefällt mir · Antworten · 22. Mai um 20:24
Richard Loosemore
Richard Loosemore I swear there is some colloqialism for this. I looked up "dark code" but that appears not to be it.
Gefällt mir · Antworten · 22. Mai um 20:24
Fernando Gurgel
Fernando Gurgel https://en.wikipedia.org/wiki/Precautionary_statement
Precautionary statement - Wikipedia
on labels and manuals, to descriptions of physical activities. Various methods are used to bring focus to them, such as setting apart from normal text, graphic icons, changes in text's font and color. Texts will often clarify the types of statements and their meanings within the text. Common precaut...
EN.WIKIPEDIA.ORG
Gefällt mir · Antworten · 22. Mai um 20:25
Richard Loosemore
Richard Loosemore Huh? Fernando Gurgel? No, that is not what I meant. :-)
Gefällt mir · Antworten · 1 · 22. Mai um 20:26
Correy Kowall
Correy Kowall A morass that has wall around it is called a garden.
Gefällt mir · Antworten · 22. Mai um 20:27
Richard Loosemore
Richard Loosemore These are "no-go-zones" or "Stay Out!" zones.
Gefällt mir · Antworten · 22. Mai um 20:27
Richard Loosemore
Richard Loosemore Microsoft has them, Toyota has them. Apple probably does.
Gefällt mir · Antworten · 22. Mai um 20:27
Richard Loosemore
Richard Loosemore I once worked on CorelDraw, and some chunks of the codebase were like that. They were just informally marked with loud warnings like "DO NOT CLEAN THIS CODE!"
Gefällt mir · Antworten · 22. Mai um 20:29
Peter Rothman
Peter Rothman "Frozen" code is code that isn't to be changed, this sounds a bit more specific so IDK.
Permafrost.
Gefällt mir · Antworten · 2 · 22. Mai um 20:36 · Bearbeitet
Correy Kowall
Correy Kowall I'd call it 'a library I used to use.'
Gefällt mir · Antworten · 22. Mai um 20:36
Richard Loosemore
Richard Loosemore I swear there was a more evocative term.
Gefällt mir · Antworten · 22. Mai um 20:37
Correy Kowall
Correy Kowall Brittle legacy?
Gefällt mir · Antworten · 22. Mai um 20:39
Fernando Gurgel
Fernando Gurgel Well...
Sanctum sanctorum, Honden code, Hade's Gate, #500 Forbidden, Area51 code, Room39, Swiss Fault, immaculate code...
Gefällt mir · Antworten · 22. Mai um 20:43
Richard Loosemore
Richard Loosemore All good names ... not the one I thought existed (which was something like "dark code" but not quite). Where did you get all of those?
Gefällt mir · Antworten · 22. Mai um 20:45
Fernando Gurgel
Fernando Gurgel Secret, holy, and untouchable places
Gefällt mir · Antworten · 22. Mai um 20:46
Richard Loosemore
Richard Loosemore Lol :-)
Gefällt mir · Antworten · 1 · 22. Mai um 20:47
Fernando Gurgel
Fernando Gurgel Except Forbidden500
Gefällt mir · Antworten · 22. Mai um 20:47
Fernando Gurgel
Fernando Gurgel Gadsden code- > "Don't tread on this code"
Gefällt mir · Antworten · 22. Mai um 20:49 · Bearbeitet
Peter Rothman
Peter Rothman Naughty bits
Gefällt mir · Antworten · 1 · 22. Mai um 20:48
Peter Rothman
Peter Rothman (Don't touch with out permission )
Gefällt mir · Antworten · 1 · 22. Mai um 20:49
Fernando Gurgel
Fernando Gurgel .
░▐█▀▄─ █▀▀ █───█ ▄▀▄ █▀▀▄ █▀▀
░▐█▀▀▄ █▀▀ █─█─█ █▀█ █▐█▀ █▀▀
░▐█▄▄▀ ▀▀▀ ─▀─▀─ ▀─▀ ▀─▀▀ ▀▀▀
▒▒▒▒██▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒██▒▒▒▒
▒▒████▄▒▒▒▄▄▄▄▄▄▄▒▒▒▄████▒▒
▒▒▒▒▒▀▀▒▄█████████▄▒▀▀▒▒▒▒▒
▒▒▒▒▒▒▒█████████████▒▒▒▒▒▒▒
▒▒▒▒▒▒▒██▀▀▀███▀▀▀██▒▒▒▒▒▒▒
▒▒▒▒▒▒▒██▒▒▒███▒▒▒██▒▒▒▒▒▒▒
▒▒▒▒▒▒▒█████▀▄▀█████▒▒▒▒▒▒▒
▒▒▒▒▒▒▒▒▒▒███████▒▒▒▒▒▒▒▒▒▒
▒▒▒▒▄▄▄██▒▒█▀█▀█▒▒██▄▄▄▒▒▒▒
▒▒▒▒▀▀██▒▒▒▒▒▒▒▒▒▒▒██▀▀▒▒▒▒
▒▒▒▒▒▒▀▀▒▒▒▒▒▒▒▒▒▒▒▀▀▒▒▒▒▒▒
░▐█▀█▄ ▄▀▄ █▄─█ ▄▀▀─ █▀▀ █▀▀▄
░▐█▌▐█ █▀█ █─▀█ █─▀▌ █▀▀ █▐█▀
░▐█▄█▀ ▀─▀ ▀──▀ ▀▀▀─ ▀▀▀ ▀─▀▀
Gefällt mir · Antworten · 22. Mai um 20:54 · Bearbeitet
Dean S Horak
Dean S Horak I've heard the term "moratorium" used as well as "codefreeze".
Gefällt mir · Antworten · 1 · 22. Mai um 20:55
Richard Loosemore
Richard Loosemore I have a feeling that someone did once call those zones "Zombie Code". And that does come close. Not sure if it was the one that was in the back of my mind.
Gefällt mir · Antworten · 1 · 22. Mai um 21:07
Richard Loosemore
Richard Loosemore "Whackamole code" would also work, if we needed to invent a term.
Gefällt mir · Antworten · 22. Mai um 21:08
Peter Rothman
Peter Rothman I propose the following more seriously:
cryonic suspension - code that is frozen in the hopes that one day in the far future some magical IDE or tracing technology will allow all bugs to be eliminated from the code.
permafrost - this code was frozen so long ago that no one knows exactly what happened, when exactly it was frozen, or what it contains. Dangerous viruses and strange organisms lurk therein and it's possibly written in some arcane language like COBOL.
ice cubes - frozen, but already melting.
Gefällt mir · Antworten · 1 · Gestern um 01:52
Piaget Modeler
Piaget Modeler Deprecated.
Gefällt mir · Antworten · Gestern um 03:19
Mykola Rabchevskiy
Mykola Rabchevskiy Sometime sign is better than words:
https://upload.wikimedia.org/.../1280px-Jolly-roger.svg.png
Gefällt mir · Antworten · 1 · Gestern um 04:16 · Bearbeitet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment