Try/fuckit: Difference between revisions

From Gnomon Chronicles
Jump to navigation Jump to search
(Created page with "<pre> try { // Block of code to try if (true) { //do stuff } else { //emergency stuff //hopefully we won't need this } } fuckit (Exception e) { // Block of code that can just fuck off } </pre>")
 
No edit summary
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
In computer programming, '''try/fuckit''' is a type of '''exception handling''' which expresses the programmer's angry response to occurrences of anomalous or exceptional conditions requiring special processing during the execution of a program.
== Example ==
<pre>
<pre>
try {
try {
Line 12: Line 16:
}
}
</pre>
</pre>
== In the News ==
<gallery>
</gallery>
== Fiction cross-reference ==
* [[Gnomon algorithm]]
* [[Gnomon Chronicles]]
* [[If (true) do stuff here]] - [https://x.com/GnomonChronicl1/status/1676598800725491717 Post] @ Twitter (5 July 2023)
== Nonfiction cross-reference ==
* [[Gnomon Chronicles (nonfiction)]]
=== Categories ===
* [[:Category:Irresponsible Computing]]
* [[:Category:Computer programming (nonfiction)]]
== External links ==
{{Template:Ext links: Exception handling}}
=== Social media ===
* [https://x.com/GnomonChronicl1/status/1809259424902423019 Post] @ Twitter (5 July 2024)
* [https://x.com/GnomonChronicl1/status/1676605130647412738 Post] @ Twitter (5 July 2023)
[[Category:Fiction (nonfiction)]]
[[Category:Irresponsible Computing]]
[[Category:Computer programming (nonfiction)]]
[[Category:Computing (nonfiction)]]

Latest revision as of 07:25, 6 July 2024

In computer programming, try/fuckit is a type of exception handling which expresses the programmer's angry response to occurrences of anomalous or exceptional conditions requiring special processing during the execution of a program.

Example

try {
    //  Block of code to try
    if (true) {    
      //do stuff 
    } else {    
      //emergency stuff     
      //hopefully we won't need this 
    }
} fuckit (Exception e) {
    //  Block of code that can just fuck off
}

In the News

Fiction cross-reference

Nonfiction cross-reference

Categories

External links

Social media

  • Post @ Twitter (5 July 2024)
  • Post @ Twitter (5 July 2023)