26 karma · joined Jan 15, 2010 (16y ago) · 14 submissions
comment 10y ago · link · parent
comment 10y ago · link · parent
It's very easy when looking at the solution to a problem to say "I would've thought of that" and maybe you're right. But maybe not.
Having real experience of the consequences of your decisions, keeping skin in the game, is also important. Maybe not for every single decision, but a representative sample.
comment 10y ago · link · parent
It would be saner if everything was non null by default. There'd be no need for a ! then and no ambiguity for beginners around whether something is nullable or not. No downside for non-beginners either unless they're in the habit of using more nullable parameters/vars than non-nullable, which doesn't seem like a particularly good idea...
comment 13y ago · link · parent
This feels right on the surface, but is it actually true? A quine contains a complete record of itself. That's an extreme case to be sure, but it does seem to provide at least one counterexample . . . (of a system that contains itself, not necessarily a system that actually observes and records itself)
A recording of a system does not need to contain everything in order for that recording to by played back, as long as the replay system is deterministic -- you just need to record the random inputs. E.g. see the way they do it in video games [http://www.gamedev.net/topic/439336-replay-system/]
I'm not saying that it is possible, just it shouldn't be dismissed out of hand just because it feels like it should be impossible.
comment 13y ago · link · parent
comment 13y ago · link · parent
using figured from ohwp's response above:
iPad : 6186 cm3
iPad 2 : 3944 cm3 = saving of 2242cm3
iPad 3 : 4213 cm3
iPad 4 : 4213 cm3
iPad Air: 3060 cm3 = saving of 884cm3 (vs smallest other iPad, the iPad 2)comment 13y ago · link · parent
The only reason I've ever had for knowing who wrote code is if the code+comments+tests do not adequately explain what's going on and I need to know. On most of those occasions the person who wrote the original code had already left the organisation.