News for hackers. Stuff that matters.
Re:Zig's dot star syntax (value.*) by FlyingSnake on Saturday March 08, 2025 @06:32PM (#43304593)
FTA: “power.* is how we dereference a pointer“

This Is basically the gist of the article.

I’m surprised to see that so many programmers these days don’t know C and basic pointers.

Re:Zig's dot star syntax (value.*) by dazed_confused on Saturday March 08, 2025 @08:17PM (#43305241)
Are you honestly surprised?
Re:Zig's dot star syntax (value.*) by epolanski on Sunday March 09, 2025 @04:55AM (#43307408)
Why would you?

Large parts of the industry does really work with low(er) level languages.

Even people who went through C/C++ in their formal education/start of their career may have not used it for a long time.

Re:Zig's dot star syntax (value.*) by FlyingSnake on Sunday March 09, 2025 @05:12PM (#43313894)
Learning C is a time honored tradition. I’m surprised that I’ve to defend C language on a forum like HN.
Re:Zig's dot star syntax (value.*) by xigoi on Sunday March 09, 2025 @05:53AM (#43307692)
Everyone who knows pointers had to learn them at some point.
Re:Zig's dot star syntax (value.*) by d0mine on Sunday March 09, 2025 @04:59PM (#43313748)
C is not even in the top dozen most popular languages https://www.jetbrains.com/lp/devecosystem-data-playground/
Re:Zig's dot star syntax (value.*) by FlyingSnake on Sunday March 09, 2025 @05:10PM (#43313865)
Treating everything a popularity contest is definitely not the best way, right?