2
ZioCain
4y

I bet I'm the only one that reads spaghetti PHP better than whatever python script

I fucking hate all those ":" around the code.

Note: I don't want to start a war over which is better, they both get the job done in their way.
Also, none really will change its mind anyway, so just don't start a war, please?

Comments
  • 3
    Hahahahahahahaha.

    Okay.
  • 0
    Vim is better than Emacs! Wait, am I in the right room?
  • 1
    You are not alone, well unless you actually ment the spaghetti. I find python crappy to read in a lot of cases. Not using it on daily bases but if I'm using it for a while my brain switches and it reads like normal. Never liked the kwargs though but with PHP 8 we are going to get it there too I'm afraid.

    Most PHP code I work with us if really high quality and use type hints the PSR's etc so it's tough to compete with.
  • 0
    Yeah it's a bit weird how much they liked the colon but not the semicolon
  • 1
    Of all the things to complain about Python, the colon is the last thing. It's the one syntactic element they used user testing to decide upon.

    https://python-history.blogspot.com/...

    Also, the semicolon is redundant information. Eevee discussed it briefly in her blog about redesigning C.

    https://eev.ee/blog/2016/...

    You're used to it, and that's okay. But empirically, there could be better ways of doing it. You might have to get used to them, but less information to visually parse reduces cognitive load when reading source code.

    https://en.m.wikipedia.org/wiki/...
  • 0
    @rooter don't you mean good colon
Add Comment