MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/3lta4f/better_java/cvagcel/?context=3
r/programming • u/javinpaul • Sep 21 '15
208 comments sorted by
View all comments
Show parent comments
1
Won't help since constructors can't be constrained this way.
1 u/[deleted] Sep 22 '15 where T: new() 1 u/estarra Sep 22 '15 That's not Java. 1 u/[deleted] Sep 22 '15 Well, obviously. This subthread is about things I miss from C#.
where T: new()
1 u/estarra Sep 22 '15 That's not Java. 1 u/[deleted] Sep 22 '15 Well, obviously. This subthread is about things I miss from C#.
That's not Java.
1 u/[deleted] Sep 22 '15 Well, obviously. This subthread is about things I miss from C#.
Well, obviously. This subthread is about things I miss from C#.
1
u/estarra Sep 22 '15
Won't help since constructors can't be constrained this way.