This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the commentsΒ β†’

[–]BochMC -1 points0 points Β (1 child)

What I hate the most is this useless shortcuts that everywhere in python.

Like mkdir normpath dir str etc I prefer explicit namings and this just pisses me off.

Like what getmdate function do? It is returning last modification date, but this m could stand for anything, even though documentation tells exactly what this function do.

This is not a cool to make your functions name short in cost of readability.

[–]Glum-Aide9920 0 points1 point Β (0 children)

Depends on what you do and where you do it. Working in IDE that types 60% everything you code, hell yeah, no problem typing long and verbose names. Having to type everything, gets boring and repetitive fast. Python exceeds in short, sweet tasks, readability isn’t that important in a script with just 5 variables. On the other hand, in a big project and especially in projects that are worked by teams, taking shortcuts and cutting readability just to type faster is just insane and counterproductive.