Editing 1926: Bad Code

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 13: Line 13:
 
* [[1833: Code Quality 3]]
 
* [[1833: Code Quality 3]]
 
* [[1926: Bad Code]]
 
* [[1926: Bad Code]]
βˆ’
* [[2138|2138: Wanna See the Code?]]
+
* [[2138: Wanna See the Code?]]
  
 
[[Ponytail]] has caught [[Cueball]] in the act of writing some messy code β€” code in the form of a spreadsheet formula, which in turn produces another program in a language called {{w|Haskell (programming language)|Haskell}}. Haskell is a {{w|purely functional programming}} language, a concept that has a debatably steep learning curve, which causes it to be somewhat obscure, as referenced in [[1312: Haskell]]. It is explained that ''this'' code will, in turn, {{w|Parser|interpret}} ''more'' source code, specifically code written in {{w|HTML}}.  Parsing HTML is notoriously tricky without a dedicated software library for several reasons, including frequent changes to web pages, a nested structure of tags and quotes that frustrates {{w|regular expression}}s, allowing new lines to be started almost anywhere, and different standards that are followed or not followed to varying degrees.
 
[[Ponytail]] has caught [[Cueball]] in the act of writing some messy code β€” code in the form of a spreadsheet formula, which in turn produces another program in a language called {{w|Haskell (programming language)|Haskell}}. Haskell is a {{w|purely functional programming}} language, a concept that has a debatably steep learning curve, which causes it to be somewhat obscure, as referenced in [[1312: Haskell]]. It is explained that ''this'' code will, in turn, {{w|Parser|interpret}} ''more'' source code, specifically code written in {{w|HTML}}.  Parsing HTML is notoriously tricky without a dedicated software library for several reasons, including frequent changes to web pages, a nested structure of tags and quotes that frustrates {{w|regular expression}}s, allowing new lines to be started almost anywhere, and different standards that are followed or not followed to varying degrees.

Please note that all contributions to explain xkcd may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see explain xkcd:Copyrights for details). Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel | Editing help (opens in new window)