Re:Better C – A subset of D Programming Language
by skocznymroczny on Tuesday April 28, 2020 @02:06PM
(#23009923)
Templates don't exist until compile time, until you build the code, the IDE plugin doesn't have the full data on what types exactly are there. Java/C# generics are more limited in functionality, but it's a tradeoff in exchange for better ahead of time knowledge of types.
[ Parent
| on HN ]
Re:Better C – A subset of D Programming Language
by pjmlp on Friday May 01, 2020 @05:14AM
(#23040360)
Visual Studio can do that, you just provide an example type and the IDE shows what the result would be.
https://devblogs.microsoft.com/cppblog/template-intellisense...
Now try that on vim.