Comment

Comment by witx

A constant is a variable that _always_ has the same value on all lifecycles, e.g.

    const int a{10};
An immutable variable well ... does not

   void some_function(const int a);
Can you tell me what is the value of `a` on both cases?
parent witx 1 year ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton