WWDC - Generics and some Algorithms

[)roi(]

Executive Member
Joined
Apr 15, 2005
Messages
6,282
Reaction score
405
Location
Two interesting presentations at WWDC:
SeanParent said:
"If you want to improve the code quality in your organisation, replace all of your coding guidelines with one goal..."

No Raw Loops

[table="width: 100%, class: outer_border, align: left"]
[tr]
[td]Note:
[/td]
[/tr]
[/table]


For the remainder of the presentations from WWDC, you can follow the session video links from here: https://developer.apple.com/wwdc/schedule/
 
Last edited:
Lol. Raw loops. No 1 reason for code review pushback where I work.
 
Lol. Raw loops. No 1 reason for code review pushback where I work.
As it should be....because most programmers generally suck at writing code that is more performant than that available in e.g. STL, stdlibs, etc...

...IMO this should be extended to all loops, non compositional code and the majority of stateful / effectual code, because not only are they more difficult to GROK vs. declarative code, they usually are like raw loops another source of bugs, and hardly ever sufficiently justify the effort, and the added complexity of trying to provide 100% test coverage for it.
 
Top
Sign up to the MyBroadband newsletter
X