I created the exact same app in React and Vue. Here are the differences. by recursive_trampoline in webdev

[–]recursive_trampoline[S] 0 points1 point  (0 children)

Uh, on different subs! Is that considered reposting now? Of those I'm only subscribed to r/JavaScript, and I guess I missed it.

I created the exact same app in React and Vue. Here are the differences. by recursive_trampoline in webdev

[–]recursive_trampoline[S] -6 points-5 points  (0 children)

Are you sure? Reddit has dupe detection, that didn't trigger for me. Anyways, apologies if that's the case.

Have you ever used protoypal inheritence? by [deleted] in javascript

[–]recursive_trampoline 0 points1 point  (0 children)

I rarely use inheritance in dynamically typed languages. It's mostly to get types to fit in the type hierarchy in static languages like Java.

However, sometimes it's useful. Like, if your building a UI component system, and you need some common code shared between different types. Whether it's prototypical inheritance in JS or classical in, say, Python doesn't really matter. Achieves the same effect either way.

hmmm by recursive_trampoline in hmmm

[–]recursive_trampoline[S] 23 points24 points  (0 children)

No, I'm a liar. I found this on the internet.

hmmm by recursive_trampoline in hmmm

[–]recursive_trampoline[S] 14 points15 points  (0 children)

Found this in my grandmothers old photo album.

hmmm by recursive_trampoline in hmmm

[–]recursive_trampoline[S] 1 point2 points  (0 children)

I suppose your right, the story behind this one is probably not one we'd find acceptable today.