Originally posted by JackLilhammers
View Post
If I look at nameless functions / lambdas in python I puke in a curve, now the messed up wrong logic syntax of if/else where else is not a part of the if construct from the indentation level but a separate block, and you have to write some special cases for a refactoring tool to make it understand that this 2 blocks belong together even identation says the opposite, that part is not python specific all fortran inspired languages (most languages today) (I guess fortran 77 or 95 seems to have changed to this ridiculous semantically illogical syntax), but Python is one of the only languages that has no other real alternative conditionals, except some hacked list solutions that work for some problems but don't for others.
But the lambda syntax is probably the major problem you can't really do multi-line lambdas, the creator the dictator of the project hated lambdas or functional programming so that he made it as bad as possible having different syntax for 1 line if/else as example is also retarded.
So no please nobody should take python as example to create something else, for me s-expression is the only real way to go but beside that rust and julia are much better languages, that don't stay at baby level pseudo-code language, No pseudo code is no actual good code! and stop triggering me with such suggestions :P
Comment