Giter Site home page Giter Site logo

Completion of error handling about catimg HOT 13 CLOSED

posva avatar posva commented on May 22, 2024
Completion of error handling

from catimg.

Comments (13)

posva avatar posva commented on May 22, 2024

I'm interested, how can printf fail?

from catimg.

elfring avatar elfring commented on May 22, 2024

I suggest to avoid ignorance of return values a bit more.
Would you like to detect every error situation as early as possible?

from catimg.

posva avatar posva commented on May 22, 2024

well, not every error but only errors that can happen. Some errors just never happen and I don't want to complexify the code without getting any value from it

from catimg.

elfring avatar elfring commented on May 22, 2024

Are you interested to apply aspect-oriented software development?
How do you think about to encapsulate error detection and corresponding exception handling as a reusable aspect in your software?

from catimg.

posva avatar posva commented on May 22, 2024

Maybe but I do not have the knowledge to do it 😕.
Did catimg failed when you used it ?

from catimg.

elfring avatar elfring commented on May 22, 2024

I would prefer that strict error detection will become less optional in useful software.
Is the importance of software robustness increasing for the affected image viewer?

from catimg.

posva avatar posva commented on May 22, 2024

not really.
why do you sound as if you were trying to sell me something? It's very suspicious

from catimg.

elfring avatar elfring commented on May 22, 2024

I am just curious if you would like to make your software a bit safer.

from catimg.

posva avatar posva commented on May 22, 2024

well, that could be great but I think this little piece of software doesn't need that much security

from catimg.

elfring avatar elfring commented on May 22, 2024

I find that every useful software should usually be prepared for exceptional run-time conditions.

How do you think about to improve static source code analysis also for your software?

Do you find information sources like the following useful?

from catimg.

posva avatar posva commented on May 22, 2024

thanks for the resources! :)
catimg doesn't need those though

Also the way you write is really weird, it makes me feel very uncomfortable

from catimg.

elfring avatar elfring commented on May 22, 2024

Which communication ways would you prefer to achieve a better common understanding eventually?

from catimg.

posva avatar posva commented on May 22, 2024

You don't sound/read human. (I don't mean to be mean)

from catimg.

Related Issues (20)

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.