Sucksβ

Watch Out!

That article was updated in 2017 by theory.org, it does not follow good pages guide and may have outdated information.

Help us to maintain it with Edit on GitHub link
We don't serve ads
and don't ask you to buy shit, because that sucks. If you want, be our patron ( patreon, paypal, liberapay ), that's it.
do
  local realVar = "foo"
  real_var = "bar" -- Oops
end
print(realVar, real_var) -- nil, "bar"
local function fn() return "bar", "baz" end
print("foo", fn()) -- foo bar baz
print("foo", fn(), "qux") -- foo bar qux
>2+2
  stdin:1: unexpected symbol near '2'
>return 2+2
  4
>("string"):upper()
  STRING
>({1,2,3}):concat()
  stdin:1: attempt to call method 'concat' (a nil value)
>(3.14):floor()
  stdin:1: attempt to index a number value
Lua sucks, here is why. We hope, that article will help you to choose the perfect programming language for you. Lua sucks, here is why. 2017 Your Language Sucks Lua Lua
We don't serve ads
and don't ask you to buy shit, because that sucks. If you want, be our patron ( patreon, paypal, liberapay ), that's it.