3 ms·
> LINQ alone is a game changer. I`m still writing code with almost same style as Python in C#,... That's very curious: do you have any quick examples that you
by necovek 3y ago
> LINQ alone is a game changer. I`m still writing code with almost same style as Python in C#,...
That's very curious: do you have any quick examples that you could point me to?
I was generally intrigued by C# and .NET way back when it was introduced and especially when Mono started shipping the runtime for Linux, but I hated the boilerplate and couldn't move away from Python for that reason.
- necovek 3y agoFWIW, I've read up on LINQ and it strikes me as having exactly the same issues as any ORM generally does: you lose on the expressiveness needed to get most optimal querying capabilities for the tool in use (eg. Postgres specifics or SQLite specifics or...). This is not to say that one should use string concatenation to construct queries, but that you want smart tools that do just enough. I.e. I like Storm expression language or sqlalchemy-core to express SQL as Python, but getting into deeper ORM level stuff generally harms what you can achieve once you need more complex stuff.