Talk:1+

From Esolang
Jump to navigation Jump to search

Re-defining functions

Is re-definition of subroutines allowed?

If so, are previous references to subroutines updated or do they still mean the original? "never depend on a subroutine that is defined later on" would suggest re-definition shouldn't change previous references. Plus, should re-encountering an old definition re-re-define it or once a definition has been done once should it only act as a call from then?

I'd suggest re-defining a subroutine shouldn't change previous references, would change the language significantly and leads to the re-re-definition problem.

Another option is to leave it undefined behavior :P