Comment

Comment by Someone

C also ‘supports’ fixed-length arrays. You can write

  int foo(int bar[10]) {
    …
  }
and you can tweak that to generate warnings when users pass arguments of the wrong size. See https://lwn.net/Articles/1046840/
parent Someone 1 day ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton