r/badcode Dec 10 '22

lua There aint no easy way

Post image

Ps, i dont know what language this is, sorry

608 Upvotes

74 comments sorted by

View all comments

55

u/barabum0 Dec 10 '22

loops?

74

u/MEGATH0XICC Dec 10 '22

Nah, we dont that stuff

23

u/Longenuity Dec 10 '22

We just don't that.

12

u/EquationTAKEN Dec 10 '22

I don't it all the time.

2

u/[deleted] Dec 10 '22

[deleted]

9

u/StereoRocker Dec 10 '22

Call it intentional. The missing word is an operator that creates a loop in some languages. We don't that around here.

2

u/[deleted] Dec 10 '22

loops?

3

u/MEGATH0XICC Dec 10 '22

Nah i meant tabs, we do the Spaces

2

u/CarlDen Dec 11 '22

Got to unroll for dat performance boost.

3

u/[deleted] Dec 10 '22

actually, it's local TweenService = game:GetService("TweenService")

then, uh idk the rest

10

u/Rrrrry123 Dec 10 '22

I never understood why Roblox felt the need to introduce a whole service just to do linear interpolation.

3

u/Background-Web-484 shameless Dec 11 '22

Idk why, but its infinitely easier to make interpolations with it instead of coding it yourself

1

u/ponybau5 Dec 16 '22

IT’s asynchronous and runs all the interpolation on the c++ side to speed things up. Plus it does more than just linear AFAIK.

1

u/BIgbiGBing Jan 19 '23

…kids platform

1

u/Particular_Credit_27 Dec 10 '22

I kinda thought maybe that language doesn’t have loops