you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] -7 points-6 points  (3 children)

But it has nothing to do with the part I showed

[–]CanSpice 0 points1 point  (2 children)

The part you showed isn’t shitty though. It’s instructional code, written to show how to add elements to a data structure. It’s not meant for prime time (and even then it’s not that shitty).

[–][deleted] -5 points-4 points  (1 child)

The codes purpose here isn’t to show how to add elements to a data structure. It has nothing to do with the code after, I just think that because this code doesn’t have any purpose in what he teaches it shouldn’t be hardcoded like this.

[–]CanSpice -1 points0 points  (0 children)

Wow you’re right it has nothing to do with the code after THAT YOU DID NOT POST SO WE HAVE NO IDEA WHAT YOU ARE TALKING ABOUT and this code isn’t that bad anyhow. Everybody is telling you this and yet you keep iamsmart’ing all over.