Comment

Comment by Calzifer

  int s_isdigit(const char* s) {
Name does not fit implementation. Should be "contains_digit".

Also I would say almost any "issomething" method involving a loop has an opportunity for an early return.

parent Calzifer 3 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton