Comment Comment by xigoi In many aspects, Lua is more verbose and awkward than other similar languages. Compare local alive_enemies = {} for _, enemy in ipairs(enemies) do if not enemy.dead then table.insert(alive_enemies, enemy) end end enemies = alive_enemies with enemies = enemies.filter(enemy => enemy.alive) parent xigoi 7 months ago