Try/fuckit: Difference between revisions

From Gnomon Chronicles
Jump to navigation Jump to search
No edit summary
No edit summary
Line 49: Line 49:
[[Category:Fiction (nonfiction)]]
[[Category:Fiction (nonfiction)]]


[[Category:Irresponsible Software]]
[[Category:Irresponsible Computing]]


[[Category:Computer programming (nonfiction)]]
[[Category:Computer programming (nonfiction)]]
[[Category:Computing (nonfiction)]]
[[Category:Computing (nonfiction)]]

Revision as of 10:15, 5 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)