Блог пользователя int_Jak

Автор int_Jak, история, 3 года назад, По-английски

Recently I really got disheartened by seeing some code written by redcoders. Why they write POSH style code which nobody understands or at least hard to understand instantly? Is that really necessary?

can you understand this for loop in one go?

for(i=(B<2?2-B:0); i<res; ++i){

I think no.

  • Code should be easy to understand for all

Hail to easy code...

  • Проголосовать: нравится
  • -18
  • Проголосовать: не нравится

»
3 года назад, скрыть # |
 
Проголосовать: нравится +33 Проголосовать: не нравится

sir, I'm so sorry.

Next time when I write code I will remember you and I won't use any ternary operators. Doesn't matter if I have to waste time writing longer code. After all, the only thing that's important is how aesthetically pleasing it is for you.

Please forgive me

»
3 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

What's posh code

»
3 года назад, скрыть # |
Rev. 2  
Проголосовать: нравится 0 Проголосовать: не нравится

Downvoted, what's wrong with this loop?