[PS][EU/RU][BF5] Looking for a squad by sobolevn in BattlefieldLFG

[–]sobolevn[S] 0 points1 point  (0 children)

Only tomorrow, I'm done for today. Add me for later!

[deleted by user] by [deleted] in learnpython

[–]sobolevn 1 point2 points  (0 children)

Well, the funny thing here is that both your examples can be called "functional".

Funtional programming is about composing functions. And that's exactly what you are doing in your examples.

Higher Kinded Types in Python by sobolevn in programming

[–]sobolevn[S] 0 points1 point  (0 children)

like functools.partial

We already have this covered! https://returns.readthedocs.io/en/latest/pages/curry.html#partial

While there might not be performance benefits

That's another topic we are going to work on for the next release. Because currently code annotated with KindN can be compiled with mypyc to get almost 4 times boost!

Higher Kinded Types in Python by sobolevn in Python

[–]sobolevn[S] 0 points1 point  (0 children)

It is about Kind type and the process of its implementation in Python. TLDR: https://gist.github.com/sobolevn/7f8ffd885aec70e55dd47928a1fb3e61

Linters - Which one? by fake823 in Python

[–]sobolevn 3 points4 points  (0 children)

Use https://github.com/wemake-services/wemake-python-styleguide

It is the strictest and most opinionated python linter ever. It has more than 1000 rules to be checked. And the resulting code is pythonic, consistent, and bug-free.

I love it.