cd /news/general/a-very-simple-class-implementation-i… · home topics general article
[ARTICLE · art-10780] src=spader.zone ↗ pub= topic=general verified=true sentiment=↓ negative

A Very Simple Class Implementation in Lua

The article provides a factual overview of implementing a simple class in Lua, contrasting Lua's elegance with the complexity of other scripting environments like Python and JavaScript. It criticizes Python's packaging system and the fragmented JavaScript ecosystem, while noting that these issues are systemic and difficult to resolve.

read1 min views29 publishedNov 30, 2022

Lua is a beautiful language. Most scripting languages will make you feel dirty at some point. Packaging a project in Python is a hellscape littered with broken glass, plus it’s about three thousand source files between the C stuff and the Python stuff. V8 is roughly two million lines of source code, and the ecosystem around it is fractured and generally gorged to exploding with transpilers and polyfills and bundlers other various flavors of bullshit. This is fine, in the same way that traffic in my city (Atlanta) is fine. It’s terrible, and it makes you want to stay away from your car, but nobody’s really to blame. Institutional problems, sure, and the general shit-rolls-downhill quality of the actions of large groups, but it’s really just this thing that Sucks and that you can’t do anything about.

── more in #general 4 stories · sorted by recency
── more on @lua 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/a-very-simple-class-…] indexed:0 read:1min 2022-11-30 ·