dvorka / hstr

bash and zsh shell history suggest box - easily view, navigate, search and manage your command history.
http://me.mindforger.com
Apache License 2.0
4.04k stars 231 forks source link

Completion of error handling #300

Open elfring opened 6 years ago

elfring commented 6 years ago

Would you like to add more error handling for return values from functions like the following?

dvorka commented 6 years ago

@elfring Yes, this should be definitely improved.

elfring commented 6 years ago

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


dvorka commented 6 years ago

It would be nice to make static code analysis a part of CI builds - currently I use Travis CI.

I used aspects in complex Java apps, but HSTR is pretty simple utility. Do you have any particular suggestion where/how to use aspects in a reasonable way?

elfring commented 6 years ago

I used aspects in complex Java apps, …

This is good to know. - Would you like to reuse these software development experiences for the programming language “C” (and/or “C++”)?

How do you think about to tackle exception handling by aspect-oriented programming?