Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
the tragedy of 24 hour clocks is that i only very rarely have the chance to see a 4:20
Home
Help
Search
Calendar
Login
Register
Cutey Zone
»
General Category
»
Cute Discussion
»
C
« previous
next »
Print
Pages:
«
1
2
Author
Topic: C (Read 15239 times)
hubol
Cutesterest
Posts: 1168
Cutes: 646
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
Logged
SquareWheel
Administrator
Cutester
Posts: 836
Cutes: 145
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.
Logged
Print
Pages:
«
1
2
« previous
next »
Cutey Zone
»
General Category
»
Cute Discussion
»
C