News for hackers. Stuff that matters.
Re:C array types are weird by smackeyacky on Tuesday May 26, 2026 @08:00PM (#48287647)
Embedded programming is still in C for a lot of micro controllers and whatnot. If you’re programming with limited resources it’s essential to understand pointers and arrays. Likely you won’t be doing anything useful without them
Re:C array types are weird by throwaway27448 on Wednesday May 27, 2026 @01:37AM (#48290096)
I understand certain programmers are chained to C. We should use this opportunity to castigate the people who don't target better languages rather than trying to work with clearly outdated tools.
Re:C array types are weird by flohofwoe on Wednesday May 27, 2026 @02:57AM (#48290672)
What about just letting people decide for themselves instead of telling them what they should and shouldn't do.
Re:C array types are weird by pjmlp on Wednesday May 27, 2026 @03:10AM (#48290763)
Some times they need a little help from legislators.
Re:C array types are weird by throwaway27448 on Wednesday May 27, 2026 @03:23AM (#48290846)
Bruh
Re:C array types are weird by Biganon on Wednesday May 27, 2026 @09:51AM (#48294381)
Could you crawl back to reddit? Thanks
Re:C array types are weird by throwaway27448 on Wednesday May 27, 2026 @03:47PM (#48299564)
Sir (generously), we deserve better than half-assed software in 2026. Please leave your racist-ass bigotry in the alps
Re:C array types are weird by pjmlp on Wednesday May 27, 2026 @03:09AM (#48290759)
With very few exceptions like PICs, most of them also support C++, which has nice goodies like span and views, that can be optionally bounds checked.