Ruby Exceptions And Exception Handling
Ruby exceptions and error handling is not the most remarkable feature of the Ruby language. Infact, the way Ruby deals with exceptions is strikingly similar to other languages (such as Java etc.). But, I think all the stuff I’ve been writing about Ruby lately has taken on a life of it’s own for me :), so I am going to quickly go over this topic if only for completeness sakes. Hope you enjoy Ruby Exceptions And Exception Handling.
Comments
Don’t waste your time reading this post unless you know absolutely nothing about exceptions. I find the posts from this author really nothing more than manual regurgitation. If you are going to blog, show me some experience and real insight. Otherwise stop clouding up the web with things I can read elsewhere.
I am sorry if you find what I write useless, you’re welcome to read something else.
No offense, but if I was going to rant about someone else’s blog, I would at least take the time to check out more than one post from said blog, just to make sure some of the other posts aren’t based on ‘experience and real insight’.
Things you can read elsewhere, like where for example, somewhere else on the web? I wonder if everyone in the world thought the same way as you, how much information the internet would actually contain right now. My guess would be, not much.
nice post - it’s just what i needed as my exception handling skills are a little rusty
i don’t care if you manually regurgitate what’s already out there, i found the article very useful.
the notion that each generation of artists and thinkers must further the work of the previous generation, or be deemed irrelevant, is generally attributed to adolf hitler…
skorks: Don’t take it too personally. I understand the complainant’s point since he/she is probably experienced and looking for new and interesting things, but there’s a whole crowd of beginner/intermediate developers who find content like yours useful.
Folks my point was that the content of this posts and many of his others are nothing more than what already appears in the ruby documentation. In this most recent post for example he documents how you can create a custom exception class. Programmers can look this up in the manual. What would add more value is explaining WHY and under what circumstances it is a good idea to create your own custom exception.
I don’t think this can be compared to the documentation that comes with Ruby. The documentation that comes with Ruby is mostly reference material, whereas this is more like direction and tuition (however basic). Of course, there are already a lot of great books and e-books that cover basic Ruby concepts in this way - though not so many blog posts.
I could be wrong though. Is there anything more tuition-based in the internal Ruby documentation on exceptions than this reference page?
Post a comment