48 karma · joined Feb 1, 2012 (14y ago) · 6 submissions
comment 3y ago · link · parent
comment 11y ago · link · parent
In retrospect, it's a bit surprising they never enhanced it to operate hands free like this - it was made by the same folks as the segway and feels like a natural evolution.
comment 14y ago · link · parent
String.hashCode explicitly guarantees consistency across processes by specifying how the hash code is computed, this is something that can be safely relied upon. (Same for Integer, Long, Float and Double)
comment 14y ago · link · parent
It's true that relying on hashCode to remain stable across arbitrary objects is brittle, but this is not the case for String.