494 karma · joined Oct 18, 2013 (13y ago) · 197 submissions
jeorgun AT gmail
comment 8y ago · link · parent
In the max heap question, I'd argue that add should take a parameter by value, rather than a const reference, since this prevents having to needlessly copy temporaries (and is less verbose than overloading for T&&).
List of iterator categories is missing input iterators.
comment 11y ago · link · parent
comment 11y ago · link · parent
comment 11y ago · link · parent
comment 11y ago · link · parent
comment 11y ago · link · parent
Which is basically the situation we're heading towards now in any case. Pretty prescient, I suppose.
comment 11y ago · link · parent
[1] http://squid314.livejournal.com/320770.html?thread=2386178
comment 11y ago · link · parent
struct FieldInfo {
//
const std::vector<ast::Attribute>& attrs;
}comment 11y ago · link · parent
Yes you would, for any sane definition of "small and clean". Code can't be made arbitrarily small; some problem spaces are fundamentally complex.
For what it's worth I have played around some with dynamic libraries and with FUSE, and I found the former incomparably easier to work with. Maybe that speaks more to FUSE in particular than to the idea in general (or maybe it's just me being bad at FUSE), but that's been my experience.
comment 11y ago · link · parent
comment 11y ago · link · parent