Re:I’m too lazy to be a HTML developer
by masklinn on Sunday December 18, 2011 @08:53AM
(#3366615)
> How many times do you have to re-learn file IO?
Dunno. Bytes IO or text IO? evented IO? Lazy IO? Monadic IO? Which platform are you on? Will there be concurrent access? Is your file always a file or is it also a socket?
Yeah, you re-learn file IO quite a bit I'd say. And that's without talking about APIs going from straightforward (and broken) to completely baroque (and still broken).
Oh sure, sometimes
> it's really to [read a file] quickly and but not understand any of the foundations.
Re:I’m too lazy to be a HTML developer
by rhizome on Sunday December 18, 2011 @02:18PM
(#3367253)
I don't know from Monadic I/O, but at least a couple of those might appear to the untrained eye to be application I/O rather than actual file I/O, which I would guess has been pretty uniformly oriented around the open(3) idiom by now.
Dunno. Bytes IO or text IO? evented IO? Lazy IO? Monadic IO? Which platform are you on? Will there be concurrent access? Is your file always a file or is it also a socket?
Yeah, you re-learn file IO quite a bit I'd say. And that's without talking about APIs going from straightforward (and broken) to completely baroque (and still broken).
Oh sure, sometimes
> it's really to [read a file] quickly and but not understand any of the foundations.
isn't it?