←back to thread

201 points olvy0 | 2 comments | | HN request time: 0.001s | source
Show context
high_na_euv ◴[] No.41878416[source]
LINQ is so fucking useful and well designed feature of .NET ecosystem that it is unreal when you gotta use lang which doesnt have such a thing.

C# design team is/was unparalleled

replies(7): >>41878459 #>>41878543 #>>41878588 #>>41878686 #>>41879163 #>>41879194 #>>41879315 #
pjmlp ◴[] No.41878459[source]
LINQ is largely based on FP stuff, also how Smalltalk collections work.

It is relatively easy to find similar capabilities in most languages nowadays, unless one is stuck on Go, C and similar.

replies(7): >>41878547 #>>41878579 #>>41878702 #>>41878783 #>>41878792 #>>41878816 #>>41879057 #
1. kumarvvr ◴[] No.41878579[source]
Any pointers to such libraries in python?
replies(1): >>41878736 #
2. pjmlp ◴[] No.41878736[source]
itertools would be the starting point, unfortunelly Python is rather limited due to the way it only supports one line lambdas.