GithubHelp home page GithubHelp logo

Comments (5)

matryer avatar matryer commented on August 29, 2024 1

from captain.

matryer avatar matryer commented on August 29, 2024

Panics are hard. Have you considered an alternative way of handling errors? I don’t think an ‘error’ type should end up as a panic, because returning errors is ok and should be part of normal

from captain.

matryer avatar matryer commented on August 29, 2024

... flow. Panics are messages to developers.

from captain.

cyberhck avatar cyberhck commented on August 29, 2024

Thanks for immediate response.

hmm. I don't know what I should do in this context, do you have any suggestions as to what to do on this condition? Idea is if runtime processor returns an error we should abort, or something.

Or do you think runtime shouldn't really return anything, they're just kind of hooks, do you think we want to return anything at all?

from captain.

cyberhck avatar cyberhck commented on August 29, 2024

closing this, I'm gonna remove the ability to return an error so we can use the Adapter pattern too :)

from captain.

Related Issues (12)

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.