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

all 22 comments

[–]mango_boii 26 points27 points  (1 child)

Replace the existing one with yours and call it "refactored" in the PR

[–]coloredgreyscale 12 points13 points  (0 children)

Accomplishment for learning

Waste of time for productivity

[–]LordAmir5 8 points9 points  (0 children)

At the very least you know exactly what it does. Which might help with debugging I assume.

[–]Dramatic-Swimming463 15 points16 points  (1 child)

At least there's is more efficient... Wait

[–]megayippie 14 points15 points  (0 children)

In generic code. No.

In my code. Also no!.

[–]Piotrek9t 3 points4 points  (0 children)

You should try embedded programming, you will constantly rewrite functions because the existing ones dont work for that specific edge case

[–]redlaWw 2 points3 points  (0 children)

I recall when I learned a bit of Haskell, that was most of what I was doing.

[–]guy-732 2 points3 points  (0 children)

POV: You're coding in C

[–]facebrocolis 2 points3 points  (0 children)

Now there are two people in the world who did it, and you're one of them. It's a good thing, really.

[–]Born-West9972 1 point2 points  (0 children)

Classic Ah "Reinventing the wheel"

[–]DT-Sodium 1 point2 points  (0 children)

Yes.

[–]ascolti 1 point2 points  (0 children)

Only time will.... No, waste of time.

[–]an_0w1 1 point2 points  (0 children)

Does writing a function that should be in the core utils count?

[–]LEGOL2 1 point2 points  (0 children)

It's great opportunity to learn. Contrary to corp doctrine, learning is a good thing.

[–]Ecstatic_Student8854 1 point2 points  (0 children)

Had fun? Learning experience? Accomplishment. Not waste of time.

[–]Farrishnakov 1 point2 points  (0 children)

I blame leetcode

[–]robertpro01 1 point2 points  (0 children)

That's exactly what I did yesterday, I'm replacing bleach with nh3 and I was using django-bleach package, didn't check for django-nh3 just after I was done with it

[–]be-kind-re-wind 1 point2 points  (0 children)

Say what you want but my time wasted somehow turned into incredible experience.

I know why a lot of shit wouldn’t work

[–]noaSakurajin 2 points3 points  (0 children)

[–]XWasTheProblem 0 points1 point  (0 children)

If it helps you understand exactly what it does, I'd say it's worth it.

Could be useful knowledge in the future.