Comment

Comment by scott_s

If I understand you correctly, you think programmers should say:

  int i;
  for (i = 0; i < SIZE; ++i) {
    buffer[i] = 0;
  }
Instead of:

  memset(buffer, 0, SIZE)
Because it indicates better buffer management.
parent scott_s 16 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton