News for hackers. Stuff that matters.
Re:Zig's Comptime Is Bonkers Good by bunderbunder on Tuesday January 07, 2025 @12:53PM (#42625206)
This feels like it's it's a constant problem with all more advanced language features. I've had the same reaction to uses of lisp macros, C-style macros, Java compiler extensions, Ruby's method_missing, Python monkey patching, JavaScript prototype inheritance, monads, inheritance...

Maybe the real WTF is the friends we made along the way. <3 <3 <3

Re:Zig's Comptime Is Bonkers Good by arccy on Tuesday January 07, 2025 @02:32PM (#42626366)
this is why Go is so great....
Re:Zig's Comptime Is Bonkers Good by bunderbunder on Tuesday January 07, 2025 @03:35PM (#42627118)
Go is not immune. See: interface pollution.
Re:Zig's Comptime Is Bonkers Good by 9rx on Tuesday January 07, 2025 @06:03PM (#42628771)
And why it draws so much dislike: It doesn't offer many ways to paper over poor design decisions.
Re:Zig's Comptime Is Bonkers Good by paulddraper on Wednesday January 08, 2025 @02:04AM (#42631800)
If I had a dollar for every Go code generator
Re:Zig's Comptime Is Bonkers Good by paulddraper on Wednesday January 08, 2025 @02:04AM (#42631794)
That’s because it’s a human problem not a technology one.

Can only be fixed by fixing humans.