335 karma · joined June 14, 2007
That said, I also want side-by-side diffs. They're necessary for more complex diffs.
This is changing a bit now when SipHash is available. Unfortunately SipHash still is a bit too slow and forces an uncomfortable trade-off.
> Example (good) uses include hash dictionaries.
which I interpret as meaning hash tables or similar. If so hash function performance matters a lot, especially for short strings.
http://www.reddit.com/r/haskell/comments/13m8eu/haskell_leav...
* Programmers who need a higher level language (e.g. C instead of assembly) are just bad programmers.
* Programmers who can't manage manual memory allocation are just bad programmers.
* etc
f _ _ _ | trace "print something profound" False = undefined
f normal arguments here = ...
That way the trace output will be printed whenever the function is evaluated, which typically mimics a lexical call stack unless you use laziness in some particularly interesting way. // Pseudo Go:
maybe_paths := filepath.Glob(dir + "/*.png")
case maybe_paths of {
Some paths: {
// Do things with paths
}
None: {
// Handle error case
}
}
This makes it impossible to use `paths` if `Glob` returns an error, as `paths` won't be in scope!Furthermore, not having sum types forces us to include a distinguish value `null` for reference (pointer) types, as a way to communicate "no value". This is bad as now we cannot distinguish references that should never be `null` from those than can be `null`.
* When you're dead all your savings are worthless (to you), so your likely to spend most of them before then.
* Some consumption cannot be postponed: you need food, a roof over your head, transportation, etc.
* Time has value. For example, if you wait another 6 months the same amount of money (bitcoin or not) will buy you a better computer. This is likely to hold true in the foreseeable future. Still people do but computers (and phones, etc).
* There's opportunity cost: even if your savings increase in value over time, investing them in something could increase them even more.