@wronglang @adam_wysokinski @nxskok
here isn't it because R is full on "copy on write" ?
@wronglang @adam_wysokinski @nxskok
here isn't it because R is full on "copy on write" ?
@defuneste @adam_wysokinski @nxskok all I'm saying is they could've saved people a lot of grief by not making brackets a syntactically correct constructor with weirdly specified arguments.
@wronglang @adam_wysokinski @nxskok
Fair point, I agree that the [ ] def make it looks like some kind of setting (and like mentioned in the thread will throw you out of bonds error with [[ ]])
@wronglang @defuneste @adam_wysokinski @nxskok
R's "YOLO, let's do it!" attitude (not to mention what passes for a type system) drives me nuts, but I understand _this_ behavior at least.
>it was designed by statisticians who happened to do programming
I understand making this comment in a hand-wavy fashion, but I think this underpins the valid technical reason here: In general, data you get from the real world (especially the kind of data that people who use R a lot get) SUCKS. It's full of holes and gaps and spurious and invalid values. If R choked by default on every one of these, no one would ever get anything done.