Don't get me wrong, I'm sure Swift is a big improvement in a lot of ways, but LoC is a weird measure to focus on, IMO... though, I can't say I blame them. LoC is easy to compute. Turns out measuring actually useful things can be rather hard...
Don't get me wrong, I'm sure Swift is a big improvement in a lot of ways, but LoC is a weird measure to focus on, IMO... though, I can't say I blame them. LoC is easy to compute. Turns out measuring actually useful things can be rather hard...
Here is a list of activities that grow at a more-than-linear rate
as project size increases:
- communication
- planning
- management
- requirements development
- system functional design
- interface design and specification
- architecture
- integration
- defect removal
- system testing
- document production
Code Complete section 27.5. Size in this section is referring to LOC.Do I believe Swift is better? Sure.
Do I believe they eliminated some bugs in the original code? Yep.
Do I believe they introduced a whole whack of new bugs they now don't know they have? Most definitely. That's what happens when you re-write software (http://www.joelonsoftware.com/articles/fog0000000069.html).
I've been waiting on writing Swift in production until Apple stops making breaking changes to the syntax. Running a converter over a million line codebase every few months and then checking it in is simply not a good answer. I think we're either there, or very close. That said I'm definitely, super double not rewriting large swaths of code. There's no value there. New stuff? Totally.
Unfortunately, it's the only objective measure offered.
Where are the defect rates? Coverage in unit tests? Time to delivery? User satisfaction measures?