🌉 bridged from @thefloweracidic@lemmy.world by Tidepool
thefloweracidic
@thefloweracidic.lemmy.world.ap.tdpl.io
I'm still happy though
I really like this idea, so uh here is my resume??
I'm a software developer who fell in love with teaching. Unfortunately many companies providing an education in writing code are scams, and I'm sad to say I'm working for one right now. I've been playing with the idea of having free "learn to code" streams, to give people the education without ripping them off.
I also am interested in getting into music production ( I have a year of piano lessons under my belt! humble beginnings lol), and I have an eccentric art style if there is a desire for visuals that don't feel derivative and samey like most modern art efforts. Attached is my most recent art piece.
I'm not just interested in teaching, really I want to just find other people who also enjoy creating and sharing information. I don't care about being rich or going viral. I just want a social ecosystem where "Wouldn't it be cool if..." is likely to be followed up by "Yeah, we should try it", or "No I already attempted that, but here is what I learned."
Anyways I'm here to help how I can!
A distillation of Ragnarok
Lua "classes" or closures as classes?
Hey all,
I'm learning Lua and come from a Java background, and have been diving deep into Lua "classes".
Realizing that a Lua "class" is just some clever syntactic sugar, and lacks encapsulation, I've found that closures can act like a Java class and protect it's state. An added bonus is my muscle memory won't struggle with : vs . for function calls, a pitfall I've already wasted time debugging.
I'm new to all this though, is there anything I'm missing? Is a Lua "class" with self and : a better choice than using a closure like a class?