3 ms·
is what a good idea in python?
by arnorhs 18y ago
is what a good idea in python?
- gaius 18y agoFrom the article: # #Problem: all these lambdas suck. Any better ways to do it? # # #TODOS/QUESTIONS: # #1. is it a good idea? # #2. can it be made to not suck (do something with all those lambdas)?
- run4yourlives 18y agoIssue being that how can anyone answer those two questions without understanding the problem he/she is attempting to solve? It very well might be the only way to solve the issue given external constraints, but it may also be the case that, for example, reworking the problem space would lend itself to a much more elegant solution. Code should never be treated as if it exists in some sort of bubble.
- MHollender 18y agoUm, what's hard to understand in: "#LINQ in C# is cool #Python doesn't quite need it as it has generatior expressions, sum(), len(), sorted() and itertools.groupby() #so let's just wrap a nice SQL-like interface over them in order to make them more familiar." ? It's getting the above-mentioned features as easy to use for the SQL-familiar programmer as possible.