MissInheritance of Enumerable
See original GitHub issueIn short words: everything must inherit from Enumerable
Currently on C#:
Enumerable<T>
:
- Select
- Where
- First, Single
- FirstOrDefault, SingleOrDefault
- Basically all filter / select based methods
List<T>
extends Enumerable<T>
- All inherited stuff
- Add, Delete, DeleteWhere (or DeleteAll), ...
- OrderBy, OrderByDesc
SortedList<T>
extends List<T>
- Correctly implemented
Etc …
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Why Enumerable doesn't inherits from IEnumerable<T>
According to this sentence,We have to define methods in the IEnumerable<T> interface and implement in the Enumerable class by inheritance.is it correct?
Read more >Enumerable Class (System.Linq) - Microsoft Learn
The methods in this class provide an implementation of the standard query operators for querying data sources that implement IEnumerable<T>.
Read more >Jochen Mader | codepitbull@chaos.social on Twitter: "But it would ...
Pretty much any enum I know is superior to what Go does. I don't miss inheritance at all but some constructs to support...
Read more >Why do new(ish) programming languages eschew OOP ...
Javascript as well. And I worked with large, fairly OO-oriented codebases in JS, and it was fine and I didn't miss inheritance.
Read more >Help with leaving the object-oriented mindset : r/rust - Reddit
personally, I'd probably parse the data into a enum, though it's hard ... just like you, I still occasionally miss inheritance, which makes ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Glad to hear, it seems that we are all trying to do the best implementation possible within our possibilities haha 😅
Hey again! I decided to start a new TsLinq implementation from scratch. This new implementation is iterator based, without copying memory all the time and O(n) for most operation chains. If you want to help, we can make it really nice 😄 https://github.com/isc30/TsLinq