Re:Demand for Ruby on Rails is Still Huge
by majormajor on Wednesday June 20, 2018 @03:16PM
(#17358744)
> In order to scale, Ruby applications need very high coverage. This has nothing to do with Ruby and/or Rails though; it's a requirement of all the dynamically typed languages.
I don't think typed languages all get you away from this. You're gonna learn things that make you want to refactor things. Your standard typed Java app isn't going to get away without tests, there, since compile != correct for the vast majority of program designs.
You might be able to get "less obviously broken" for free - logic bugs but no 500 errors from unexpected exceptions, say - but is that so much better?
> In order to scale, Ruby applications need very high coverage.
Exactly, this is the "at enormous cost" bit I hinted at.
Re:Demand for Ruby on Rails is Still Huge
by akshatpradhan on Wednesday June 20, 2018 @02:25PM
(#17358158)
>Coverage is a measure used to describe the degree to which the source code of a program is executed when a particular test suite runs. A program with high test coverage, measured as a percentage, has had more of its source code executed during testing, which suggests it has a lower chance of containing undetected software bugs compared to a program with low test coverage.
In case folks are wondering about what we mean by coverage...
PS. Love Rails.
Re:Demand for Ruby on Rails is Still Huge
by mplewis on Wednesday June 20, 2018 @01:22PM
(#17357425)
Writing comprehensive tests isn't an "enormous cost."
Re:Demand for Ruby on Rails is Still Huge
by elialbert on Wednesday June 20, 2018 @01:12PM
(#17357293)
Having high test coverage (especially in dynamic languages) has been industry standard for years. I haven't worked at a place that accepts poorly covered PRs in a very long time.
Re:Demand for Ruby on Rails is Still Huge
by akshatpradhan on Wednesday June 20, 2018 @02:24PM
(#17358135)
>Coverage is a measure used to describe the degree to which the source code of a program is executed when a particular test suite runs. A program with high test coverage, measured as a percentage, has had more of its source code executed during testing, which suggests it has a lower chance of containing undetected software bugs compared to a program with low test coverage.
In case folks are wondering about what we mean by coverage...
Re:Demand for Ruby on Rails is Still Huge
by akshatpradhan on Thursday June 21, 2018 @11:16AM
(#17365896)
Double Pasta, now that’s embarrassing.
Talking about 1 KLOC and future unmaintanability is nonsense.
In order to scale, Ruby applications need very high coverage. This has nothing to do with Ruby and/or Rails though; it's a requirement of all the dynamically typed languages.
There are certainly missing functionalities that at some point will cause a roadblock (currently, threading is immature), however again, no framework can support all the possible functionalities.