Code Monkey home page Code Monkey logo

fair-catch-go's Introduction

Fair Catch

Fair Catch is a package provides a golang alternative to Try/Catch/Throw exceptions you can find in other languages like C++, C#, Java, ...

It uses the built-in function Recover that regains control of a panicking goroutine.

A little bit of general knowledge

A fair catch is a feature of American football and several other codes of football, in which a player attempting to catch a ball kicked by the opposing team โ€“ either on a kickoff or punt โ€“ is entitled to catch the ball without interference from any member of the kicking team. A ball caught in this manner becomes dead once caught, i.e., the player catching the ball is not entitled to run with the ball in an attempt to gain yardage, and the receiving team begins its drive at the spot where the ball was caught. A player wishing to make a fair catch signals his intent by extending one arm above his head and waving it while the kicked ball is in flight. The kicking team must allow the player an opportunity to make the catch without interference.

The primary reason for the fair catch rule is to protect the receiver. A receiver directs his attention toward the incoming punt and cannot focus on the defenders running towards him. He is quite vulnerable to injury and is also at risk for fumbling or muffing the kicked ball if the punter intentionally makes a high short kick to allow defenders time to hit the receiver. A second reason for a fair catch, on a punted ball, is to prevent the ball from rolling toward the receiving team's goal and being downed deep in the team's own territory.

Source: Wikipedia

fair-catch-go's People

Contributors

vallium avatar

Stargazers

Nicolas Bouliol avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.