Better HN
topnewbestaskshowjobs
Log inSign up

rubyissofun

5 karma · joined Aug 20, 2013 (13y ago) · 1 submissions

Submissions

comment 13y ago · link · parent

Ruby is awesome, so yes that would be wrong. But is it wrong that I was secretly hoping the answer was to abandon the project?

Contracts are not needed and it obfuscates the error raising. Just use plain Ruby if you need to raise an exception. I'm will seriously quit using Ruby if someone makes me use contracts.

But it looks like a fun project to write. Nothing wrong with that.