Page 1 of 1

Please remove the GOTO instruction ti-nspire

Unread postPosted: 20 Feb 2016, 03:36
by compsystems
Please remove the GOTO instruction, this instruction creates a bad programming practice, also not needed
An article I wrote

http://www.todopic.com.ar/foros/index.p ... 383867#new

Re: Please remove the GOTO instruction ti-nspire

Unread postPosted: 20 Feb 2016, 03:38
by Adriweb
Oh well, on the TI-Nspire, it's really not used often, contrary to the z80 devices.

Removing it would create compatibility issues, though ;) So... TI could just advise against using it (if they're not already)

Re: Please remove the GOTO instruction ti-nspire

Unread postPosted: 20 Feb 2016, 03:47
by compsystems
Sorry for my bad English

Java has not a GOTO instruction, and nor will never have, millions of programmers in 20 years, have never needed, delete GOTO and recover commands handling pixles (TI68k), restore command dialog boxes, but without Gotos

Re: Please remove the GOTO instruction ti-nspire

Unread postPosted: 20 Feb 2016, 08:27
by Lionel Debroux
Cleanliness (or at least, some idea of that concept...) is one thing, but efficiency is another one ;)
High-level exception handling, which is one of the ways to work around lack of goto in those languages that have chosen to cripple themselves, has measurable cost in terms of both speed and size. Therefore, goto still reigns supreme in efficient C (Linux kernel and many other tools) and C++, for programs that are made by millions of developers and used by bilions of users.