Re:Background: how we got the generics we have (2020)
by Semaphor on Thursday April 01, 2021 @09:21AM
(#26660151)
OP mentioned C#. Exactly the same is possible there.
[ Parent
| on HN ]
Re:Background: how we got the generics we have (2020)
by gmueckl on Thursday April 01, 2021 @09:52AM
(#26660514)
Yes and no. The C# language does have conditional compilation, which is modelled after the C preprocessor. That can interfere with refactoring and limit its accuracy. The good thing is that this mechanism is rarely used in practice.