Try/fuckit: Difference between revisions

From Gnomon Chronicles
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 27: Line 27:
* [[Gnomon algorithm]]
* [[Gnomon algorithm]]
* [[Gnomon Chronicles]]
* [[Gnomon Chronicles]]
* [[If (true) do stuff here]] - [https://x.com/GnomonChronicl1/status/1676598800725491717 Post] @ Twitter (5 July 2023)


== Nonfiction cross-reference ==
== Nonfiction cross-reference ==

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)