Please read the new rule regarding the restriction on the use of AI tools. ×

int_Jak's blog

By int_Jak, history, 13 months ago, In English

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...

  • Vote: I like it
  • -18
  • Vote: I do not like it

| Write comment?
»
13 months ago, # |
  Vote: I like it +33 Vote: I do not like it

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

»
13 months ago, # |
Rev. 2   Vote: I like it 0 Vote: I do not like it

Downvoted, what's wrong with this loop?