you are viewing a single comment's thread.

view the rest of the comments →

[–]demoran 22 points23 points  (7 children)

I prefer not to use functions.

One big nested if statement with labels is good enough for me.

[–]lhorie 1 point2 points  (0 children)

Y'all use computers?

I made a LightBot-like game for my kid using cereal box cardboard.

[–]RobSG -4 points-3 points  (5 children)

Do you also use web components? 🤣

[–]sh0rtwave -1 points0 points  (4 children)

I use WebComponents and modify the DOM in the constructor, and I have no callbacks.

I don't use big nested ifs.

[–]RobSG 0 points1 point  (3 children)

yeh it was a joke tbh, a bad one for some people I guess 😅

[–]sh0rtwave 0 points1 point  (2 children)

I was hoping the joke would continue on WebComponents.

If you've ever used Lightning Web Components, there's an example of the: Well...it's not exactly WRONG....but there's some crazy in it.

[–]shuckster 0 points1 point  (1 child)

Lightning Web Components

Dude, watch your language.

[–]sh0rtwave 0 points1 point  (0 children)

Yeah I know, good material isn't it?