DEV Community

Discussion on: What library/language/tool wowed you with its developer experience?

Collapse
 
hyftar profile image
Simon Landry

Also "did you mean ... ?", Gotchas, syntactic sugar and Active Record in general. Coming from the .Net world where we have to write getters and setters even for the simplest model to this magical world where you can just code a db and a few relationships and everything just magically works. I sometimes get imposter syndrome while writing Ruby / RoR because everything is so easy and I feel like anyone could write a website in a few days. Of course it's not true, but it goes to show how uncomfortably good Ruby makes me feel.

Collapse
 
mburszley profile image
Maximilian Burszley

Coming from the .Net world where we have to write getters and setters even for the simplest model

Unclear when you last worked with .NET. T PropName { get; set; } is not really that difficult.

Thread Thread
 
hyftar profile image
Simon Landry

Never said it wasn't easy, just that you /have/ to. Even if it's small, my point is that it's redundant. In Ruby on Rails, you don't have to do that, it automatically generates most of the methods you need just by reading your database.