1 comment

[ 2.9 ms ] story [ 7.9 ms ] thread
Jump to the third one by cestpasmoi and if that is NOT enough, he did refer to another thread:

https://stackoverflow.com/questions/12186857/what-is-the-dif...

I recently trying to do some C/C++ and SDL2. Whilst you cannot escape C++, I found C is more readable, even though as said by C the hard way, it is really a lot of undefined case. And you have to use a lot of pointers and pointers of pointer to go around. Still I found by and large I can READ C source. Just like I can read lisp source.

But whilst Python already is hard to "read", C++ is really hard to read. Give this eample of "static" , it is sort of a language design issue I think. If you have a term like external, static, global, local, function scoping etc. you should have give you a good default case and also a good name. And seperate into different terms. Functional-local, Functional-same-file, ... I know it is not likely but ...

But there is no escape. You have to deal with Python and C++ I guess. No choice.

BTW, for those argued against global variable, just drop it; sometimes it hard. Tried to follow the basic SDL example,it is a major exercise. Avoid no doubt, but esacpe all these is also hard.