gegmopo4: (Default)
gegmopo4 ([personal profile] gegmopo4) wrote in [personal profile] juan_gandhi 2017-03-16 09:04 pm (UTC)

Python вряд ли. Там switch нет, а ООП есть. Плюс функции, классы и методы — first-class citizens, и локальные функции/классы вполне идиоматичны. А «если функция принимает булевский параметр, то лучше сделать две функции» — один из принципов ГвР.

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting