Hacker News new | ask | show | jobs
by claudiug 1275 days ago
im writing python now as my current feature job

I will list some crap that is mine, and my personal view. not an expert on python, not a programmer designer. I'm 100% convince that alternative exist, or im complete an fool.

- self when writing oop/camelCase vs snake_casse others even better CamelCase_V1_magic_action

- classes with lower cases / strange names

- hundreds of lines of code per functions/ if/else/ etc. open sqlalqhemy and have a look

- if you want async/away you need to colorise your function

- __private__

- len/str, that is basically __len__ __str__

- package management

- map/select/fold/ dont exists. just use [x in y for x in list]

- := strange go var inside of if, that only work there

- if you dont return from a function, then, what the function will return?

a lot of web frameworks, that either copy(rails, sinatra, nextjs)

- a lot of junior developers, with junior code or show to us code

- python is basically a glue lang for c/c++ libraries

- complicated deployment.

- version management also a mess

- cyclic import exception. it sucks. i know im at fault but is tsucks

- people tend to write criple code, because python is easy. I think is a mistake.

- asyncio is hard. but again my view here :) looks easy on js

- I dislike decorators.

- i dislike multiple inheritance :)

- the str format demo.format vs f"{format}" vs whatever else

end of random rants :)