|
|
|
|
|
by weedpeg
1746 days ago
|
|
self -> python is verbose
Really? Anyone who has written code in Java or C# knows python is much more succinct compared to them. Whitespace cannot be seen hence do not use them
You are not expected to see them. you are expected to view the indentation and make sure it is consistent. This forces programs to be easier to read. static typing > Dynamic typing
OK, i agree that as programs grow large, static typing allows to catch many bugs early enough. But nowadays void * casting of pointer in C is considered bad, earlier it was ok. The point is languages improve over time (JS looking at you) and with typing support in python 3.5+, this problem is very much fixed. No constants
I am not writing python for 10 years, and simple CONST_ prefix does the job. And no i'm not being hostile or condescending while responding :P |
|