Click here to Skip to main content
15,918,976 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: How I loathe the Code DOM Pin
Sander Rossel26-Nov-19 10:42
professionalSander Rossel26-Nov-19 10:42 
Rantall these C#8 language feature additions and yet Pin
honey the codewitch24-Nov-19 11:50
mvahoney the codewitch24-Nov-19 11:50 
GeneralRe: all these C#8 language feature additions and yet Pin
harold aptroot24-Nov-19 12:03
harold aptroot24-Nov-19 12:03 
GeneralRe: all these C#8 language feature additions and yet Pin
honey the codewitch24-Nov-19 12:05
mvahoney the codewitch24-Nov-19 12:05 
GeneralRe: all these C#8 language feature additions and yet Pin
Super Lloyd24-Nov-19 12:51
Super Lloyd24-Nov-19 12:51 
GeneralRe: all these C#8 language feature additions and yet Pin
honey the codewitch24-Nov-19 12:53
mvahoney the codewitch24-Nov-19 12:53 
GeneralRe: all these C#8 language feature additions and yet Pin
Super Lloyd24-Nov-19 13:12
Super Lloyd24-Nov-19 13:12 
GeneralRe: all these C#8 language feature additions and yet Pin
honey the codewitch24-Nov-19 13:17
mvahoney the codewitch24-Nov-19 13:17 
Unfortunately, when doing functional style programming heavy use of generics is pretty much unavoidable.

C++ does so much better at this kind of thing. I wish C# would add "template" to the language and allow you to do source style templates like C++ as well as generics (which are binary)

Source level templates are simply far more flexible. You can do things like that typedef, you can do things like get the compiler to make complicated calculations like generating parse tables at compile time (see the Spirit C++ parser framework for an example), and you can do partial template specializations and just all kinds of things you'll never be able to do at the binary level.

It's unfortunate. I love C++ for this stuff. I wish other languages had it.

Ironically, Java/J2EE comes close with their templates, since they are source level but they are so poorly architected that they're a bad joke.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.

GeneralRe: all these C#8 language feature additions and yet Pin
Shuqian Ying24-Nov-19 13:43
Shuqian Ying24-Nov-19 13:43 
GeneralRe: all these C#8 language feature additions and yet Pin
honey the codewitch24-Nov-19 13:47
mvahoney the codewitch24-Nov-19 13:47 
GeneralRe: all these C#8 language feature additions and yet Pin
Shuqian Ying24-Nov-19 14:19
Shuqian Ying24-Nov-19 14:19 
GeneralRe: all these C#8 language feature additions and yet Pin
honey the codewitch24-Nov-19 14:19
mvahoney the codewitch24-Nov-19 14:19 
GeneralRe: all these C#8 language feature additions and yet Pin
Sander Rossel24-Nov-19 22:24
professionalSander Rossel24-Nov-19 22:24 
GeneralRe: all these C#8 language feature additions and yet Pin
honey the codewitch24-Nov-19 22:31
mvahoney the codewitch24-Nov-19 22:31 
GeneralRe: all these C#8 language feature additions and yet Pin
Richard Deeming26-Nov-19 9:44
mveRichard Deeming26-Nov-19 9:44 
GeneralRe: all these C#8 language feature additions and yet Pin
Sander Rossel26-Nov-19 10:18
professionalSander Rossel26-Nov-19 10:18 
GeneralRe: all these C#8 language feature additions and yet Pin
honey the codewitch26-Nov-19 10:20
mvahoney the codewitch26-Nov-19 10:20 
GeneralRe: all these C#8 language feature additions and yet Pin
honey the codewitch26-Nov-19 10:19
mvahoney the codewitch26-Nov-19 10:19 
GeneralRe: all these C#8 language feature additions and yet Pin
#realJSOP25-Nov-19 0:57
professional#realJSOP25-Nov-19 0:57 
GeneralRe: all these C#8 language feature additions and yet Pin
honey the codewitch25-Nov-19 1:00
mvahoney the codewitch25-Nov-19 1:00 
GeneralRe: all these C#8 language feature additions and yet Pin
#realJSOP25-Nov-19 1:07
professional#realJSOP25-Nov-19 1:07 
GeneralRe: all these C#8 language feature additions and yet Pin
honey the codewitch25-Nov-19 1:10
mvahoney the codewitch25-Nov-19 1:10 
GeneralRe: all these C#8 language feature additions and yet Pin
Marc Clifton25-Nov-19 2:43
mvaMarc Clifton25-Nov-19 2:43 
GeneralRe: all these C#8 language feature additions and yet Pin
Richard Deeming26-Nov-19 9:49
mveRichard Deeming26-Nov-19 9:49 
GeneralRe: all these C#8 language feature additions and yet Pin
honey the codewitch26-Nov-19 9:50
mvahoney the codewitch26-Nov-19 9:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.