Post 3155241 by hirnbrot@mstdn.io
(DIR) More posts by hirnbrot@mstdn.io
(DIR) Post #3155240 by jelle_dc@octodon.social
2019-01-19T19:06:09Z
0 likes, 0 repeats
really dislike how the void keyword sounds considerably less cool once you have even the least bit of familiarity with java or similar languages
(DIR) Post #3155241 by hirnbrot@mstdn.io
2019-01-19T19:23:40Z
0 likes, 0 repeats
@jelle_dc Oh, but in C it holds *magic*!It could be everything. It could be nothing.It could be something in between!
(DIR) Post #3155242 by grainloom@cybre.space
2019-01-19T20:03:25Z
0 likes, 0 repeats
@hirnbrot @jelle_dc technically that's just the void _pointer_, void as a return value really does mean nothing, at least afaik
(DIR) Post #3155377 by hirnbrot@mstdn.io
2019-01-19T20:08:20Z
0 likes, 0 repeats
@grainloom @jelle_dc It just always struck me as odd to repurpose the word for "returns nothing" to "holds everything".But then... how many meanings of "static" are there?
(DIR) Post #3155878 by alva@mastodon.social
2019-01-19T20:16:43Z
0 likes, 1 repeats
@hirnbrot I'd been writing C for a while before I even knew about this `static` https://godbolt.org/z/OcSDNH@grainloom @jelle_dc