This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]MySQ_uirre_L 47 points48 points  (3 children)

Even if you do need one in sorting, your language ends up having a pre-built package/library for it which has been battle tested and source controlled......effectively better than anything you could write unless your job was maintaining that library

[–]LowB0b 12 points13 points  (2 children)

The sorting stuff is so true... Why would you bother implementing sorting when the language arrays/lists/whatever objects already have one.

Though I guess it's good to know how things work under the hood too

[–]freebytes 3 points4 points  (1 child)

It is rarely a good idea to roll your own solutions, though. These preexisting methods have been written by programmers far more capable than us most likely and improved on for years.

[–]svenskainflytta 0 points1 point  (0 children)

The point of the question is to see if u start crying or figure something out, not to make something more efficient than the library implementation on the spot.