PyHP_pph icon indicating copy to clipboard operation
PyHP_pph copied to clipboard

There should be a list of builtin functions

Open Kampfkarren opened this issue 8 years ago • 3 comments

We can either take after PHP and have thousands of inconsistently named builtin functions or be like Python and have a small amount of builtins with imports handling the rest. If we truly want this language to be ~~shitty~~ fantastic, I suggest taking the former option.

Kampfkarren avatar Jun 17 '17 18:06 Kampfkarren

I agree. We should take the PHP approach and put the entire standard library into the global namespace by default (possibly with no option to disable it).

ghost avatar Jun 18 '17 00:06 ghost

Perhaps we can use this issue as a place to suggest builtins until they are in a formal specification?

Kampfkarren avatar Jun 18 '17 01:06 Kampfkarren

We should just have a bunch of specification files so the inconsistency can truly prevail.

ghost avatar Jun 19 '17 17:06 ghost