|
|
|
|
|
by pjmlp
384 days ago
|
|
Despite all bashes that I do at C, I would be happy if during the last 40 years we had gotten at least fat pointers, official string and array vocabulary types (instead of everyone getting their own like SDS and glib), namespaces instead of mylib_something, proper enums (like enum class in C++, enums in C# and so forth), fixing the pointer decay from array to &array[0], less UB. While Zig fixes some of these issues, the amount of @ feels like being back in Objective-C land and yeah too many uses of dot and starts. Then again, I am one of those that actually enjoys using C++, despite all its warts and the ways of WG21 nowadays. I also dislike the approach with source code only libraries and how importing them feels like being back in JavaScript CommonJS land. Odin and C3 look interesting, the issue is always what is going to be the killer project, that makes reaching for those alternatives unavoidable. I might not be a language XYZ cheerleeder, but occasionally do have to just get my hands dirty and do the needfull for an happy customer, regardlees of my point of view on XYZ. |
|