Tag: computer science
-
Javascript function paramter default value
The || idiom for default parameters, the falsy values it gets wrong, and the ES6 syntax that replaces it. -
My favorite script
The astyle invocation kept for reformatting C, with the flags spelled out. -
I don't know c language
Stack versus read-only section when a string is an array or a pointer, and what changes again when the same distinction is a function argument. -
alignment and round number using & and ~
How glibc's MINSIZE macro rounds a size up to an alignment boundary with & and ~, found while tracing malloc.c.