« first day (637 days earlier)      last day (9 days later) » 

00:24
It's funny, when I was young and I discovered structural type systems, I loved the idea! No more need to declare implementations, things just work! Only after, I realized that explicit is actually better, in multiple ways.
i saw a lang which has opt in structural types
smth like Dyn(field : int)
 
14 hours later…
14:37
0
Q: Modifers vs annotations (aka pragma/attributes): when to use which?

ice1000In Java we have modifiers like private, static, etc., and annotations like @Override, @SuppressWarnings, etc. Apparently, it's a bad idea to have @Override being an annotation, so Kotlin turned it into a modifier override. It looks like when the modifier/annotation affects on the semantics, then ...

14:54
0
Q: Modifers vs annotations (aka pragma/attributes): when to use which?

ice1000In Java we have modifiers like private, static, etc., and annotations like @Override, @SuppressWarnings, etc. Apparently, it's a bad idea to have @Override being an annotation, so Kotlin turned it into a modifier override. It looks like when the modifier/annotation affects on the semantics, then ...

 
4 hours later…
 
4 hours later…
22:49
Why does C not have flexible array members for unions? Having a buffer of arbitrarily length that can be interpreted as uint8_t units or uint16_t units or uint32_t units or uint64_t units would be useful!

« first day (637 days earlier)      last day (9 days later) »