Reputation
19,009
Top tag
Next privilege 20,000 Rep.
Access 'trusted user' tools
Badges
2 37 75
Newest
 Good Answer
Impact
~670k people reached

Nov
10
awarded  Enlightened
Nov
10
revised How does a skip list work?
added 10 characters in body
Nov
10
revised Why do we still use floats?
added 4 characters in body
Nov
9
answered Why do most language's definition of substring allow substring(“abc”, 3) => “”
Nov
9
comment How to make sure people call methods in the right order?
unless you use ComparisonBuilder<ComparisonBuilder<ComparisonBuilder<Void>>> and blockEnd returns the type parameter. This is a pushdown stack. Though I'm not sure how far you can nest them.
Nov
9
comment How to make sure people call methods in the right order?
With generics you can add a type parameter BlockNest so that block() returns a ComparisonBuilder<BlockNest+1> and if BlockNest is 0 you disable blockEnd and enable build.
Nov
9
awarded  Nice Answer
Nov
9
revised Which of these two shuffle algorithms is more random?
added 1 character in body
Nov
9
revised How to handle sorting of complex objects?
added 17 characters in body
Nov
9
revised Prevent developers from using constants
deleted 2 characters in body
Nov
9
comment What would be an actual DFA/actual regex engine solve this simple regex pattern?
@JimThio how exactly it does its backtracking is an implementation detail. One way would be to push the state on a stack another would be to use recursion and use the application stack as the stack.
Nov
9
revised What would be an actual DFA/actual regex engine solve this simple regex pattern?
added 54 characters in body
Nov
9
revised How to deal with constructors in large data classes
added 139 characters in body
Nov
9
answered What would be an actual DFA/actual regex engine solve this simple regex pattern?
Nov
9
answered How can regular expression be ambiguous?
Nov
9
answered How to deal with constructors in large data classes
Nov
8
revised Why are self-hosting compilers considered a rite of passage for new languages?
added 5 characters in body
Nov
6
comment Should Linked Lists always have a tail pointer?
Actually with immutability a tail pointer is next to useless because the only thing you can do with it is see what the last element is. Everything else needs to work from the head.
Nov
5
comment Should Linked Lists always have a tail pointer?
a tail pointer is 4-8 bytes (depending on 32 or 64 bit system)
Nov
3
revised Search Algorithm Question
added 29 characters in body