1 karma · joined March 12, 2026
The idea behind it is to have the lowest syntax barrier possible for Lua developers so they can migrate from Lua to Nelua without a sweat.
Plus, whatever C library you may have used thus far, you can use it with Nelua as well without a fuss [1].
Maybe it can answer to some parts of your reasoning? :/
I will advice you to read Nicolai Josuttis' " C++ Move Semantics - The Complete Guide" [1] which describes in great detail all the tips and tricks around move semantics.
P.S.: For any C++ developer out there, in my humble opinion anything written by Nicolai Josuttis is a must-read!
Another question is this: let's hypothesize I work solo on a project; I have decided to enable Copilot and have reached a 50%-50% development with it after a period of time. One day the "hit by a bus" factor takes place; who owns the project after this incident?
Clearly, the C committee works hard on improving the language and they are in the process to standardize important features, such as lambda functions, auto, typeof (like C++'s decltype more or less), and so forth.
In my humble opinion, "defer" can mild the buffer / memory overflow, but of course not permanently remedied it 100%; to me though it's better to have such mechanism than have nothing at all to protect you.
https://gustedt.wordpress.com/2020/12/14/a-defer-mechanism-f...
Why spend thousands, if not millions of dollars, on rewriting existing codebases when they could help fixing the existing toolset and make it safer?
I don't get it.
[1] https://github.com/pawelsalawa/sqlitestudio
[2] http://www.sqliteexpert.com/This guy knows how to push the language's limits and he is the main reason I switched back to C for good.
I would suggest to add them to https://github.com/EbookFoundation/free-programming-books as well.
You will drive an incredible amount of traffic to your website this way.
I really hope they approve the following:
* auto
* constexpr
* lambda function
* __typeof__ used as typeof; it behaves like decltype
It would lead to cleaner code without excessive macro magic; only where would be needed.[1] https://gustedt.wordpress.com/2020/12/14/a-defer-mechanism-f...
As an OCD person I cannot count the number of times I got panic attacks for realizing how many tests I needed to go through to test:
* have I checked my PHP code, packages, and settings? Are they all good?
* is Composer and my various packages updated?
* what about npm and yarn packages? are they updated?
* wait...do I need worry about CSS as well now, to look for extra security measurements? WHY?! Oh yeah, CSS injection [1] /facepalm
You cannot imagine how many times I jumped out of bed to run to my computer to double-check a security measurement on an infrastructure I thought I did not secure only to find out I already did an extra step that double-secured it...It's not worth it anymore.
It's SO FREAKING STRESSFUL!
I decided to stop dealing with web development as a whole and I'm playing with C and C++ now, like the good ol' days.
I can't do multiple things at once.
I live and breathe the UNIX philosophy: Do one thing and do it well.
[1] https://www.netsparker.com/blog/web-security/private-data-st...
You know what they say: what goes around, comes around.
Those who go after anyone who has a different opinion than theirs, will face their own actions eventually, one way or another.
What I have stated is a realization: you are not allowed to make mistakes anymore, because you are immediately condemned; period!
This downvoting here proves my point 100%.
Welcome to the era of "Cancel everything because we say so".
What happened to
* learn from your mistakes
* trial and error
* getting wiser as you grow up
* growing up means talk less and think and act more
and all these kinds of questions?Where are we going people?
I cannot imagine what young kids go through in this time and day when they do a mistake.
Are we forbidden from making something stupid and silly?
This is not normal everyone, not normal at all :/
"ιχθύς εκ της κεφαλής όζειν άρχεται".
It's called "A Practical Guide to WordPress and the GPL" and I must admit, it's easy to understand.
I've got exhausted trying to explain others that *I'm not the ordinary WP user* that goes to Envato and buys a premium theme with its plugin dependencies.
I can implement everything from scratch depending on my needs...but what do I know, right?
How dare I compete with them, let alone criticize their awful coding skills?
Countless uses of obsolete jQuery code in various themes and plugins that are used on the fly without getting enqeueued or used securely...no wonder why everyone complains their website got hacked!
How about hiring real professional agencies then that know how to do their work?
It's as simple as that!
That's why I stopped dealing with web development as a whole.
It's not worth the effort, the amount of things you have to know, the fast-pace non-stop changes of web standards, the countless front-end changes in CSS and JavaScript and their myriads of frameworks!
Enough is enough you know!
I'm back in good ol' traditional programming in C and C++ applying the UNIX philosophy: do one thing and do it well!
This 1M %!
I have seen a company being approached by an agency to design and implement them an e-commerce website that consisted of multiple web services and when I was asked for feedback, I said "start small; go with WooCommerce and when you hit it big, give me a call."
They are making 500K euros selling goods while being hosted on a shared hosting with a WordPress / WooCommerce website and the server spikes at 25% the most when traffic hit the website lol!
I will paraphrase the well-known "optimization / evil" and say:
Over-engineer your infrastructure before go live will definitely lead you to failure, let alone bankruptcy. Trump: Hey Tony, you know...they are kicking me out and I'm going broke; I need a favor from you.
Anthony: what can I do for you mr. President?
Trump: I will pardon you in one condition.
Antony: what that would be?
Trump: I will need some "financial assistance" from you.
Antony: ...say no more!Is it 'ticks per second'?
How I did it? Well, I built this mental model that goes like this:
1. If a task is difficult, simplify it by splitting it to smaller tasks. Sort them in ascending order of ease.
2. Start questioning the "how"s on your smaller tasks and do your research to find multiple solutions, suggestions for improvement, optimizations, potential rewrites before becoming a bottleneck that would demand a major refactoring.
3. See whether you have answered your "how"s from #2 or not. If not, go to #1.
4. Based on #2, find the best material possible other experts in that field suggest or highly recommend; try not to fall in commercial traps or biased reviews. There are lots of valuable resource on such topic, and trust me GitHub has incredible content in markdown format with ultra-advanced levels of explanations.
5. Narrow down your expertise in a specific tool set, be it languages or IDEs / editors of your choice and learn them inside out as much as you can. E.g.: you want to master your craft around web development; fair enough. Learn JavaScript in depth and use the framework your current job demands you to know. Go to #1, then to #4, and then #3.
6. Start writing a blog or an ebook. Guess what; after a certain amount of time, you have just become yourself the mentor you have always wanted.
At least that was my own experience so far ¯\_ (ツ)_/¯It does not mean I'm a success though :D I'm a living failure, that's why I always push myself to become better at what I do.
I'm an eternal student!