News for hackers. Stuff that matters.
Re:Show HN: Imba – I have spent 7 years creating a programmi... by CRConrad on Wednesday August 18, 2021 @05:29PM (#28227423)
And in English, to go full circle, a con is what a con man pulls; a confidence trick.

Hey BTW, is a JS "const" really constant, or can it (like in some other languages) be changed after all? Because if it can, then it isn't really const but more of a con...

Re:Show HN: Imba – I have spent 7 years creating a programmi... by Zababa on Thursday August 19, 2021 @09:37AM (#28233655)
> Hey BTW, is a JS "const" really constant, or can it (like in some other languages) be changed after all? Because if it can, then it isn't really const but more of a con...

It's constant for things like numbers, but if you declare an array const, the only const things is the reference, the array can still mutate. con might be a good name for that.