Author Topic: C  (Read 10780 times)

hubol

  • Cutesterest
  • ******
  • Posts: 1135
  • Cutes: 630
    • View Profile
    • hubolhubolhubol
Re: C
« Reply #15 on: June 01, 2016, 04:58:57 PM »
that was like five years ago, now all i do is indent

the thing about the second one is that the math is not easily understood. revisiting code like that would be annoying

SquareWheel

  • Administrator
  • Cutester
  • *****
  • Posts: 802
  • Cutes: 139
    • View Profile
Re: C
« Reply #16 on: June 01, 2016, 07:38:08 PM »
Second is cleaner at first glance, but yeah that print statement is pretty complex.  Splitting it up helps keep things readable.

Not often do you reach 4x nested for loops.