Just to give a background, I was mainly self taught CSS/HTML/JavaScript and basic PHP. Found Laravel &Laracasts.com and have create a few applications in production. Starting to work on more complex applications while applying more strategies/architectures (CQRS, DDD, event driven...) I know I'm lacking some basics, and one of them is the use of try catch. Do I use them everywhere? I'm creating APIs, and for now I know who will be programming against them. But who knows in the future if the API outlives my involvement. Anyways, do I try catch everything? Are there some basic principles/guidelines I should follow when using them? I know laravel provides its own generic ones, I'd like to improve on that with more specificity.
thanks!
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)