Y
Hacker News
new
|
ask
|
show
|
jobs
by
thesz
1426 days ago
Code from yalsat (stochastic SAT solver) [1] made me learn something two years ago. I can declare an array of some elements and make access to elements statically typed. Same with maps, sets and others.
[1]
https://github.com/msoos/yalsat/blob/main/yals.c#L49