π
<-

Please remove the GOTO instruction ti-nspire

Pour le TI-Basic sur Nspire

Please remove the GOTO instruction ti-nspire

Unread postby compsystems » 20 Feb 2016, 03:36

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
User avatar
compsystems
Niveau 9: IC (Compteur Infatigable)
Niveau 9: IC (Compteur Infatigable)
Level up: 40.2%
 
Posts: 256
Joined: 30 May 2011, 13:44
Gender: Male
Calculator(s):
MyCalcs profile

Re: Please remove the GOTO instruction ti-nspire

Unread postby Adriweb » 20 Feb 2016, 03:38

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)

MyCalcs: Help the community's calculator documentations by filling out your calculators info!
MyCalcs: Aidez la communauté à documenter les calculatrices en donnant des infos sur vos calculatrices !
Inspired-Lua.org: All about TI-Nspire Lua programming (tutorials, wiki/docs...)
My calculator programs
Mes programmes pour calculatrices
User avatar
AdriwebAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Level up: 78.9%
 
Posts: 14744
Images: 1119
Joined: 01 Jun 2007, 00:00
Location: France
Gender: Male
Calculator(s):
MyCalcs profile
Twitter: adriweb
GitHub: adriweb

Re: Please remove the GOTO instruction ti-nspire

Unread postby compsystems » 20 Feb 2016, 03:47

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
User avatar
compsystems
Niveau 9: IC (Compteur Infatigable)
Niveau 9: IC (Compteur Infatigable)
Level up: 40.2%
 
Posts: 256
Joined: 30 May 2011, 13:44
Gender: Male
Calculator(s):
MyCalcs profile

Re: Please remove the GOTO instruction ti-nspire

Unread postby Lionel Debroux » 20 Feb 2016, 08:27

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.
Membre de la TI-Chess Team.
Co-mainteneur de GCC4TI (documentation en ligne de GCC4TI), TIEmu et TILP.
User avatar
Lionel DebrouxSuper Modo
Niveau 14: CI (Calculateur de l'Infini)
Niveau 14: CI (Calculateur de l'Infini)
Level up: 11.3%
 
Posts: 6865
Joined: 23 Dec 2009, 00:00
Location: France
Gender: Male
Calculator(s):
MyCalcs profile
Class: -
GitHub: debrouxl


Return to Nspire-Basic

Who is online

Users browsing this forum: ClaudeBot [spider] and 2 guests

-
Search
-
Social TI-Planet
-
Featured topics
Comparaisons des meilleurs prix pour acheter sa calculatrice !
"1 calculatrice pour tous", le programme solidaire de Texas Instruments. Reçois gratuitement et sans aucune obligation d'achat, 5 calculatrices couleur programmables en Python à donner aux élèves les plus nécessiteux de ton lycée. Tu peux recevoir au choix 5 TI-82 Advanced Edition Python ou bien 5 TI-83 Premium CE Edition Python.
Enseignant(e), reçois gratuitement 1 exemplaire de test de la TI-82 Advanced Edition Python. À demander d'ici le 31 décembre 2024.
Aidez la communauté à documenter les révisions matérielles en listant vos calculatrices graphiques !
1234
-
Donations / Premium
For more contests, prizes, reviews, helping us pay the server and domains...
Donate
Discover the the advantages of a donor account !
JoinRejoignez the donors and/or premium!les donateurs et/ou premium !


Partner and ad
Notre partenaire Jarrety Calculatrices à acheter chez Calcuso
-
Stats.
802 utilisateurs:
>743 invités
>52 membres
>7 robots
Record simultané (sur 6 mois):
6892 utilisateurs (le 07/06/2017)
-
Other interesting websites
Texas Instruments Education
Global | France
 (English / Français)
Banque de programmes TI
ticalc.org
 (English)
La communauté TI-82
tout82.free.fr
 (Français)