top | item 38689525

(no title)

marcrosoft | 2 years ago

Take ruby vs go. Ruby can write expressions that resemble a sentence so you can skip commenting and it looks nice. Go is verbose and less English like. Which is easier to understand what the code actually does? Go may take a little extra time to digest but it is infinitely more clear what is going on. If you don’t need to debug the ruby code or optimize it ruby wins because it is easier to digest and reads like English. It is a trade off like many things in software.

discuss

order

PH95VuimJjqBqy|2 years ago

This is actually one of the reasons I dislike cucumber so much. They try so hard to make it read like English for non-tech people but to really understand it you need to understand the underlying regex being used.

eliseshaffer|2 years ago

Hello! I'm Elise, the author of the post. Figured I'd jump in and say that in addition to Ruby, I really like Cucumber. But I think the non-technical people focus really cuts a lot out. For me, Cucumber gives the whole team(tech and non-tech) a shared language for what the software does.

I don't use it much anymore, because most companies seem to have moved away from it. But, I do miss it and wish we had something similar that could encouraged that level of shared understanding.

djur|2 years ago

I spent several years working on production Go code and I never found it particularly clear or intuitive to read or debug compared to Ruby. This seems like a "your mileage may vary" situation.