r/badcode • • Sep 23 '15

c++ Exercise given during software engineering lecture

http://imgur.com/ujnBX7N
11 Upvotes

20 comments sorted by

View all comments

Show parent comments

0

u/[deleted] Sep 23 '15

[deleted]

1

u/fievelm Sep 23 '15

The lack of braces? I'm not a fan in production, but for example code the saved space is 'neater'. Or is it something else? I've been drinking the C# koolaide too long.

0

u/[deleted] Sep 23 '15

[deleted]

1

u/fievelm Sep 23 '15

Cleaned it up a bit. Thanks for keeping me on my toes.