Hacker News new | ask | show | jobs
by xjay 718 days ago
Re: Pagination

Situation: There are N results shown per page. There are N+1 results remaining.

Rigid/simple: The last result is put on a separate page.

Flexible/human: If the last results are within some reasonable threshold then include them on the last page.

The last page is a different context.

1 comments

Counterpoint: the flexible approach makes things more surprising and difficult to reason about, both for technical people and laymen. The principle of least surprise is more important than marginal improvements in edge case handling.