Hacker News new | ask | show | jobs
by away2017throw 3160 days ago
Don't learn languages - learn pure paradigms. I can write C# three different ways - imperative procedural, functional, imperative OOP.
2 comments

I have seen imperative / OOP Python written in the style of Java. It's not great.
Relevant video: Stop Writing Classes

https://www.youtube.com/watch?v=o9pEzgHorH0

Thats the nice thing about a mixed paradigm language, you can use the features when appropriate.
bingads python library.

Someone’s getting their line count up.

Not everything can be expressed in C#, and it usually requires much more boilerplate. Try writing a method which abstracts over a generic type, such as List<T> and Queue<T>, for example.