Conversation started Aug 18, 2014 at 13:53.
Aug 18, 2014 13:53
Usage is things like iterator.next() in a for loop
well you have an API right
it uh
I dunno, it sorts a list
if you just put the interface then how do I know how to use the interface?
By it's structure, naming, and documentation.
cause that seems the only way to test the usability of an interface
by trying to use it to solve some problem
I know just from looking at iterator.next() that .next() moves to the next item.
I don't think I agree.
Let's say I had to do this instead.
next(int steps)
I would call shenanigans, and say that's a poor interface.
next should always move one step, and otherwise should be named differently.
Meeting in 2. brb
Aug 18, 2014 13:58
maybe you get a list back?
next(int amount)
so "gimme the next 4"
 
Conversation ended Aug 18, 2014 at 13:58.