Jump to content

User talk:50.53.21.2

Add topic
From mediawiki.org
Latest comment: 6 years ago by Jeblad in topic About edits…

About edits…

[edit]

It is nearly impossible to change anything on the page you are editing. Check the page history.

I started on a help page at Help:Lua, where extensions could be listed. It is often better to start fresh on neutral ground. The idea was to build a kind of portal into “all things Lua related” and not just “some things Scribunto related”. If you want to reorganize the page, feel free! I shall just add a few extensions to it.

Thanks for fixing the page Extension:BCmath, I forgot the hook! :D And yes, there are still a few bugs if you try it out. ;/

If you dig into the libraries you will find a lot of inconsistencies and bad practice, like simple accessors doing heavy lifting and magic flags changing the behavior of the functions. The naming schema is inconsistent, probably because some names are carried over from PHP. The documentation is also inconsistent, with arguments left out, functions left undocumented, and in one case a function is even inconsistent.

The environment changes in the console, not much, but enough to create very real problems. It should probably be better documented. I wonder if one of the main problems with the “console” is that it gives the impression (ie. triggers a mental model) of a statefull interaction with a Lua instance, but in reality it is stateless and fakes states with playback. It would be better to see the actual accumulated sequence. Jeblad (talk) 19:43, 2 October 2019 (UTC)Reply