Re: [Gambas-user] Software farm difference between download and install
umm quite xtrange.. so then both are the same? i dont think so.. download will download event if requirements are not fit, install will check requirements.. that its a process that are diferents.. for sure.. lest try Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-06-25 10:22 GMT-04:30 Gianluigi: > Does not look like this here > Both installed and downloaded projects are displayed in the Installed > Software menu. > Same thing for menu Examples > > 2017-06-25 15:12 GMT+02:00 PICCORO McKAY Lenz : > > > download will only put the code at the location in home.. > > > > install added some extra steps and put by example a menu desktop entry > > > > Lenz McKAY Gerardo (PICCORO) > > http://qgqlochekone.blogspot.com > > > > 2017-06-25 8:57 GMT-04:00 Gianluigi : > > > > > I apologize if is already been asked, I did not find the answer. > > > I not known differences between download and install in Software farm. > > > There are? > > > > > > Regards > > > Gianluigi > > > > > > -- > > > Check out the vibrant tech community on one of the world's most > > > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > > > ___ > > > Gambas-user mailing list > > > Gambas-user@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > -- > > Check out the vibrant tech community on one of the world's most > > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > > ___ > > Gambas-user mailing list > > Gambas-user@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > -- > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > ___ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] usage of too much GOTO can be bad pracitce ?
hi T, as example in my client mail, i cannot understand the "*" in the words.. only due i alredy know that are markdown similar.. are emphasis--- due i used console program never check the spell, its my faul.. sorry i always got a Scolding by that-- got corrected but when take me too many time.. prefer send inmmediatelly.. some info sometimes need to have as soon as possible.. Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-06-25 11:53 GMT-04:30 T Lee Davidson: > Lenz McKAY Gerardo, > > Please check your spelling before posting a message to the list. > > Most email clients have a built-in spell checker. And, it just might help > us better understand what you are saying, especially given that English is > obviously not your first language. > > Thanks. > > > -- > Lee > > On 06/25/2017 09:15 AM, PICCORO McKAY Lenz wrote: > >> niger, please when edited the Subject *mantain* the original *suject*.. >> >> if users want to automatically response in *conversatin* any mail from >> gambas, please disable digest mode and use *dary* mode.. >> >> each mail will coming *separatelly* this its very usefully for gmail like >> *inbos* where each mail are in-conversation mode... >> >> for *separing* mails use labels.. >> >> Lenz McKAY Gerardo (PICCORO) >> http://qgqlochekone.blogspot.com >> > [emphasis added] > > > > -- > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > ___ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] usage of too much GOTO can be bad pracitce or make influence in the code?
2017-06-25 12:13 GMT-04:30 Tobias Boege: > PICCORO, read this mail at your own risk. I won't accept invoices for > wasting your professional time. > you forgive it the EULA M$ license ;-) Oh wow, that's a high footstool you're sitting on. > well its due there's only one source of A for gambas, a mail list.. and if you dont have property configured the mail.. you never see the response.. "GOTO considered harmful" essays out there. Supposing you asked a general > question about good practices regarding GOTO (which you were, just look > at your opening message!) they also said that it was up to personal > preference in the end. Therefore I don't see the too many inconsistencies > you speak of. > yeah i'm very frustrating make programs and dont have a spanish good source for.. > The only one who said anything about performance, which you bring up above, > was nando: > > > Sometimes GOTO is needed...especially if you want your code to run > faster. > > and here I agree with you. The last part is certainly debatable and depends > on the platform (using goto in C is wildly different from using GOTO in > Gambas, see below). *The* standard example, and *perhaps* what he thought > of, is jumping out of 4 nested loops without GOTO. You can do it but at > least the obvious two solutions introduce new functions (i.e. calls and > returns) or some more IFs, both of which are forms of jumps. as i spected i cannot show the resulting code now, due companies behavour.. but in my particular case i must ask firts.. and finally i doit by myselft.. but i paste the result for others like me (know are very few,... but make great things) an the next part of your mail are great, thanks for clarify: i reading the source code for analising but again i must spent more time.. i want made some projects but the time its the firts enemy for those that have some little vision... > > i case of gambas analizing the code seems are not the same.. due gambas > fist make their own bycode that runtime inderstand and then that runtime > > pass to object mahine.. so many things change and its not the same... in > > easy words.. > > > > Exactly, so why do you think your concerns about pipelining and branch > prediction at the C -> machine level are relevant at all in Gambas? > The program execution loop in the interpreter is a gigantic jump table. > The execution of every instruction in a Gambas program involves at > least two goto's in C, while the actual Gambas GOTO instruction is > implemented as an arithmetic operation on the program counter! > > And no, I'm not conjecturing this; it's right there in the source code. > It should be natural that you read it if you require a deeper understanding > for your professional tasks than what others can provide. Your time is > not more precious than anyone else's on this list. > eacho one in this list are always by own.. i can see that people here when gambas releaseing only send bug reports of their used things.. does not try other either by curiosity ... > On a tangent I'm surprised nobody took the opportunity to scold Benoit > in this thread yet :-) Have you never tried modifying one of his parsers, > e.g. gb.markdown: > > $ cd ~/src/gambas3/comp/src/gb.markdown/.src > // Count non-empty, non-comment lines > $ egrep -cv "^[ ]*'|^[ ]*$" Markup.module > 798 > // Count labels, GOTO and GOSUB lines which are not commented out > $ egrep -i ":[ ]*$|GOTO|GOSUB" Markup.module | grep -cv "^[ ]*'" > 75 > // Percentage of directly GOTO-related lines in the markdown parser > $ pcalc 100*75/798 > 9.398496240601503 0x9 0y1001 > interesting.. but as i tell you.. time its our enemy.. > > Regards, > Tobi > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > > -- > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > ___ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] usage of too much GOTO can be bad pracitce or make influence in the code?
People gave you good correct answers. Gambas is not C, and you cannot fix bad code structure by using goto. Remember that people here are spending quite a lot of time to decrypt your messages to be able to help you. And you don't even bother to use spell checker. Little bit respect towards others. Jussi On Sun, Jun 25, 2017 at 3:18 PM, PICCORO McKAY Lenzwrote: > due to many inconsistence responses i must spend time (again) to > investigating.. > > the problem of goto comes from C to object conversion compilation.. > > many goto's produce many labels and "jump"'s in assembler code translation > when a C program are compling.. so the resulting program will be more > slower due too many "jumps" > > this are poor ilustrated to most of users here in the list due i think > nobody here know (in experience) code in assemble like me.. > > i case of gambas analizing the code seems are not the same.. due gambas > fist make their own bycode that runtime inderstand and then that runtime > pass to object mahine.. so many things change and its not the same... in > easy words.. > > so i'm very frustrating due when i try to use gambas in professional way > (due are very promisess and usefully) many questions require spend of time > due situations like that... please users.. dont make conjetures of things > that not known, causes spend of time of otheers > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > 2017-06-25 5:01 GMT-04:30 Christof Thalhofer : > > > Am 22.06.2017 um 16:10 schrieb PICCORO McKAY Lenz: > > > > > so i put > > > > > > if not isnull() > > > goto codepiecelabel1 > > > endif > > > ' amount of lines > > > > > > codepiecelabel1: > > > ' here the 4000 lines > > > > > > > > > i cannot use a sub procedures due manage some variables > > > > I never understood the religious cruzification of Goto. > > > > Sometimes I do things like: > > > > If anyvar = Null then > >Goto EndAndExit > > Endif > > > > 'Some or a lot of code ... > > 'Inside another break: > > > > If anothervar = Null Then > >Goto EndAndExit > > Endif > > > > > > EndAndExit: > > End > > > > For that situations I find Goto very useful. > > > > If I use Goto, I only use it to jump downwards. I for me found out that > > jumping upwards is a jump to hell. > > > > And if it is really useful (jumping upwards, very very seldom) then it > > has to be heavily documented. > > > > > > Alles Gute > > > > Christof Thalhofer > > > > -- > > Dies ist keine Signatur > > > > > > > > -- > > Check out the vibrant tech community on one of the world's most > > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > > ___ > > Gambas-user mailing list > > Gambas-user@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > -- > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > ___ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] usage of too much GOTO can be bad pracitce or make influence in the code?
> > On Sun, 25 Jun 2017, PICCORO McKAY Lenz wrote: > > this are poor ilustrated to most of users here in the list due i think > > nobody here know (in experience) code in assemble like me.. > > Lenz, I think you should pay attention to what Tobi has said. Very instructive and comprehensive (although succinct). In Assembly, yes, GOTOs are used abundantly. That has to do with the lower level progamming required by the machine language. But, avoiding machine language was, perhaps, the main reason why high-level language were invented in the fifities (BASIC was created in 1964). The newer and the higher-level the language, the less your programming should require GOTOs. When you say you have 4.000+ lines of code inside a IF THEN, and 4.000+ more after the ELSE, I would guess your code is very hard to read and understand. Perhaps you could benefit from some reorganization. For instance, breaking it down into smaller functions (or subroutines) you can call as needed. The more you break it down (up to a point), the easier it is to know what your are doing at each stage. On the other hand, functionality and efficacy come first. Performance comes next. That's because - no matter how fast your program is - if it is not doing what it is supposed to do, it is useless. Even in higher-level language, GOTO could be theoretically faster. But we would be talking about gains of very tyne fractions of milliseconds. Will it make any difference: I doubt it. It is hard to think and code bottleneck could be solved with GOTOs. If it is inefficient, it will continue to be so even if you spread GOTOs all over. Many of us consider GOTOs to be an unecessary and confusing command. But If you feel that using GOTO is your way to go, by all means, use it. Regards -fernando > > Oh wow, that's a high footstool you're sitting on. > > > so i'm very frustrating due when i try to use gambas in professional way > > (due are very promisess and usefully) many questions require spend of > time > > due situations like that... please users.. dont make conjetures of things > > that not known, causes spend of time of otheers > > > > What most people talked about were the usual readability concerns which > are the first thing that's brought forward in every one of the countless > "GOTO considered harmful" essays out there. Supposing you asked a general > question about good practices regarding GOTO (which you were, just look > at your opening message!) they also said that it was up to personal > preference in the end. Therefore I don't see the too many inconsistencies > you speak of. > > The only one who said anything about performance, which you bring up above, > was nando: > > > Sometimes GOTO is needed...especially if you want your code to run > faster. > > and here I agree with you. The last part is certainly debatable and depends > on the platform (using goto in C is wildly different from using GOTO in > Gambas, see below). *The* standard example, and *perhaps* what he thought > of, is jumping out of 4 nested loops without GOTO. You can do it but at > least the obvious two solutions introduce new functions (i.e. calls and > returns) or some more IFs, both of which are forms of jumps. > > > i case of gambas analizing the code seems are not the same.. due gambas > > fist make their own bycode that runtime inderstand and then that runtime > > pass to object mahine.. so many things change and its not the same... in > > easy words.. > > > > Exactly, so why do you think your concerns about pipelining and branch > prediction at the C -> machine level are relevant at all in Gambas? > The program execution loop in the interpreter is a gigantic jump table. > The execution of every instruction in a Gambas program involves at > least two goto's in C, while the actual Gambas GOTO instruction is > implemented as an arithmetic operation on the program counter! > > And no, I'm not conjecturing this; it's right there in the source code. > It should be natural that you read it if you require a deeper understanding > for your professional tasks than what others can provide. Your time is > not more precious than anyone else's on this list. > > On a tangent I'm surprised nobody took the opportunity to scold Benoit > in this thread yet :-) Have you never tried modifying one of his parsers, > e.g. gb.markdown: > > $ cd ~/src/gambas3/comp/src/gb.markdown/.src > // Count non-empty, non-comment lines > $ egrep -cv "^[ ]*'|^[ ]*$" Markup.module > 798 > // Count labels, GOTO and GOSUB lines which are not commented out > $ egrep -i ":[ ]*$|GOTO|GOSUB" Markup.module | grep -cv "^[ ]*'" > 75 > // Percentage of directly GOTO-related lines in the markdown parser > $ pcalc 100*75/798 > 9.398496240601503 0x9 0y1001 > > Regards, > Tobi > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > > -- > Check out the vibrant
Re: [Gambas-user] usage of too much GOTO can be bad pracitce or make influence in the code?
PICCORO, read this mail at your own risk. I won't accept invoices for wasting your professional time. On Sun, 25 Jun 2017, PICCORO McKAY Lenz wrote: > due to many inconsistence responses i must spend time (again) to > investigating.. > > the problem of goto comes from C to object conversion compilation.. > > many goto's produce many labels and "jump"'s in assembler code translation > when a C program are compling.. so the resulting program will be more > slower due too many "jumps" > > this are poor ilustrated to most of users here in the list due i think > nobody here know (in experience) code in assemble like me.. > Oh wow, that's a high footstool you're sitting on. > so i'm very frustrating due when i try to use gambas in professional way > (due are very promisess and usefully) many questions require spend of time > due situations like that... please users.. dont make conjetures of things > that not known, causes spend of time of otheers > What most people talked about were the usual readability concerns which are the first thing that's brought forward in every one of the countless "GOTO considered harmful" essays out there. Supposing you asked a general question about good practices regarding GOTO (which you were, just look at your opening message!) they also said that it was up to personal preference in the end. Therefore I don't see the too many inconsistencies you speak of. The only one who said anything about performance, which you bring up above, was nando: > Sometimes GOTO is needed...especially if you want your code to run faster. and here I agree with you. The last part is certainly debatable and depends on the platform (using goto in C is wildly different from using GOTO in Gambas, see below). *The* standard example, and *perhaps* what he thought of, is jumping out of 4 nested loops without GOTO. You can do it but at least the obvious two solutions introduce new functions (i.e. calls and returns) or some more IFs, both of which are forms of jumps. > i case of gambas analizing the code seems are not the same.. due gambas > fist make their own bycode that runtime inderstand and then that runtime > pass to object mahine.. so many things change and its not the same... in > easy words.. > Exactly, so why do you think your concerns about pipelining and branch prediction at the C -> machine level are relevant at all in Gambas? The program execution loop in the interpreter is a gigantic jump table. The execution of every instruction in a Gambas program involves at least two goto's in C, while the actual Gambas GOTO instruction is implemented as an arithmetic operation on the program counter! And no, I'm not conjecturing this; it's right there in the source code. It should be natural that you read it if you require a deeper understanding for your professional tasks than what others can provide. Your time is not more precious than anyone else's on this list. On a tangent I'm surprised nobody took the opportunity to scold Benoit in this thread yet :-) Have you never tried modifying one of his parsers, e.g. gb.markdown: $ cd ~/src/gambas3/comp/src/gb.markdown/.src // Count non-empty, non-comment lines $ egrep -cv "^[ ]*'|^[ ]*$" Markup.module 798 // Count labels, GOTO and GOSUB lines which are not commented out $ egrep -i ":[ ]*$|GOTO|GOSUB" Markup.module | grep -cv "^[ ]*'" 75 // Percentage of directly GOTO-related lines in the markdown parser $ pcalc 100*75/798 9.398496240601503 0x9 0y1001 Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] usage of too much GOTO can be bad pracitce ?
Lenz McKAY Gerardo, Please check your spelling before posting a message to the list. Most email clients have a built-in spell checker. And, it just might help us better understand what you are saying, especially given that English is obviously not your first language. Thanks. -- Lee On 06/25/2017 09:15 AM, PICCORO McKAY Lenz wrote: niger, please when edited the Subject *mantain* the original *suject*.. if users want to automatically response in *conversatin* any mail from gambas, please disable digest mode and use *dary* mode.. each mail will coming *separatelly* this its very usefully for gmail like *inbos* where each mail are in-conversation mode... for *separing* mails use labels.. Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com [emphasis added] -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] usage of too much GOTO can be bad pracitce or make influence in the code?
2017-06-25 6:31 GMT-03:00 Christof Thalhofer: > > > I never understood the religious cruzification of Goto. > > No doubt you can use a GOTO in a effective and understandable way. Especially if you are just jumping a few lines downwards as you mentioned. But my 40-year long experience with more than a dozen programming languages has always shown me this simple truth (for me!): if I come to a point where a GOTO is the best solution I can think of, then I'd better rewrite the code because something has gone stray. To begin with, probabily I don't know what I am doing. I have not thought enough about the problem at hand. Yes, even C has a GOTO. But if I remember correctly the original C Manual, it briefly mentions it and then recommends against using it. Now, this is not a religious crucification of GOTO. This is the result of the 60+ collective experience with GOTOs. I have never met a good programmer that relies on GOTOs to jump out of spaghetti-like code. That's because good programmers to not have spaghetti code, to begin with. But, again, I agree that jumping a few lines down the lane might not obfuscate the code to the point of making it unreadable. But then again, "breaks" and "loops" might work better even when you have nested loops. My two cents. Regards - fernando > Christof Thalhofer > > -- > Dies ist keine Signatur > > > > -- > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > ___ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > -- Fernando Cabral Blogue: http://fernandocabral.org Twitter: http://twitter.com/fjcabral e-mail: fernandojosecab...@gmail.com Facebook: f...@fcabral.com.br Telegram: +55 (37) 99988-8868 Wickr ID: fernandocabral WhatsApp: +55 (37) 99988-8868 Skype: fernandojosecabral Telefone fixo: +55 (37) 3521-2183 Telefone celular: +55 (37) 99988-8868 Enquanto houver no mundo uma só pessoa sem casa ou sem alimentos, nenhum político ou cientista poderá se gabar de nada. -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Software farm difference between download and install
Does not look like this here Both installed and downloaded projects are displayed in the Installed Software menu. Same thing for menu Examples 2017-06-25 15:12 GMT+02:00 PICCORO McKAY Lenz: > download will only put the code at the location in home.. > > install added some extra steps and put by example a menu desktop entry > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > 2017-06-25 8:57 GMT-04:00 Gianluigi : > > > I apologize if is already been asked, I did not find the answer. > > I not known differences between download and install in Software farm. > > There are? > > > > Regards > > Gianluigi > > > > -- > > Check out the vibrant tech community on one of the world's most > > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > > ___ > > Gambas-user mailing list > > Gambas-user@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > -- > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > ___ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] usage of too much GOTO can be bad pracitce ?
niger, please when edited the Subject mantain the original suject.. if users want to automatically response in conversatin any mail from gambas, please disable digest mode and use dary mode.. each mail will coming separatelly this its very usefully for gmail like inbos where each mail are in-conversation mode... for separing mails use labels.. Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-06-25 8:43 GMT-04:00 Nigel Verity: > I don't believe the use of GOTO is bad practice in terms of the efficiency > and performance of the program, but its convenience often leads to lazy > "spaghetti" code design which, in turn, usually leads to bugs. > > > The use of RETURN is a much tidier way of breaking out of a SUB or > FUNCTION, which has the effect of "GOTO END OF SUB/FUNCTION". It will then > take you to the next line in the SUB/FUNCTION which made the call. > > > It is always possible to write and position IF, SWITCH statements or loops > in a way to avoid the need for a GOTO statement. The code following the > corresponding label could, for example, be contained in a separate SUB or > FUNCTION, which makes the code tidier and makes it easily reusable within > the program. > > > I certainly would not say that programmer who uses lots of GOTO statements > is a bad programmer (as long as the program works correctly and > efficiently) but I believe that few developers would choose to maintain > code written by somebody else containing lots of GOTO statements. > > > It's important to stress that this principle is not unique to Gambas. > Nearly all programming languages support the concept of the "GOTO" (even > C), and VB actively encourages it in its error handling, which is why > Gambas is so superior. > > > Nige > > -- > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > ___ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Software farm difference between download and install
download will only put the code at the location in home.. install added some extra steps and put by example a menu desktop entry Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-06-25 8:57 GMT-04:00 Gianluigi: > I apologize if is already been asked, I did not find the answer. > I not known differences between download and install in Software farm. > There are? > > Regards > Gianluigi > > -- > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > ___ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Software farm difference between download and install
I apologize if is already been asked, I did not find the answer. I not known differences between download and install in Software farm. There are? Regards Gianluigi -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] usage of too much GOTO can be bad pracitce ?
I don't believe the use of GOTO is bad practice in terms of the efficiency and performance of the program, but its convenience often leads to lazy "spaghetti" code design which, in turn, usually leads to bugs. The use of RETURN is a much tidier way of breaking out of a SUB or FUNCTION, which has the effect of "GOTO END OF SUB/FUNCTION". It will then take you to the next line in the SUB/FUNCTION which made the call. It is always possible to write and position IF, SWITCH statements or loops in a way to avoid the need for a GOTO statement. The code following the corresponding label could, for example, be contained in a separate SUB or FUNCTION, which makes the code tidier and makes it easily reusable within the program. I certainly would not say that programmer who uses lots of GOTO statements is a bad programmer (as long as the program works correctly and efficiently) but I believe that few developers would choose to maintain code written by somebody else containing lots of GOTO statements. It's important to stress that this principle is not unique to Gambas. Nearly all programming languages support the concept of the "GOTO" (even C), and VB actively encourages it in its error handling, which is why Gambas is so superior. Nige -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] usage of too much GOTO can be bad pracitce or make influence in the code?
due to many inconsistence responses i must spend time (again) to investigating.. the problem of goto comes from C to object conversion compilation.. many goto's produce many labels and "jump"'s in assembler code translation when a C program are compling.. so the resulting program will be more slower due too many "jumps" this are poor ilustrated to most of users here in the list due i think nobody here know (in experience) code in assemble like me.. i case of gambas analizing the code seems are not the same.. due gambas fist make their own bycode that runtime inderstand and then that runtime pass to object mahine.. so many things change and its not the same... in easy words.. so i'm very frustrating due when i try to use gambas in professional way (due are very promisess and usefully) many questions require spend of time due situations like that... please users.. dont make conjetures of things that not known, causes spend of time of otheers Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-06-25 5:01 GMT-04:30 Christof Thalhofer: > Am 22.06.2017 um 16:10 schrieb PICCORO McKAY Lenz: > > > so i put > > > > if not isnull() > > goto codepiecelabel1 > > endif > > ' amount of lines > > > > codepiecelabel1: > > ' here the 4000 lines > > > > > > i cannot use a sub procedures due manage some variables > > I never understood the religious cruzification of Goto. > > Sometimes I do things like: > > If anyvar = Null then >Goto EndAndExit > Endif > > 'Some or a lot of code ... > 'Inside another break: > > If anothervar = Null Then >Goto EndAndExit > Endif > > > EndAndExit: > End > > For that situations I find Goto very useful. > > If I use Goto, I only use it to jump downwards. I for me found out that > jumping upwards is a jump to hell. > > And if it is really useful (jumping upwards, very very seldom) then it > has to be heavily documented. > > > Alles Gute > > Christof Thalhofer > > -- > Dies ist keine Signatur > > > > -- > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > ___ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] usage of too much GOTO can be bad pracitce or make influence in the code?
Am 22.06.2017 um 16:10 schrieb PICCORO McKAY Lenz: > so i put > > if not isnull() > goto codepiecelabel1 > endif > ' amount of lines > > codepiecelabel1: > ' here the 4000 lines > > > i cannot use a sub procedures due manage some variables I never understood the religious cruzification of Goto. Sometimes I do things like: If anyvar = Null then Goto EndAndExit Endif 'Some or a lot of code ... 'Inside another break: If anothervar = Null Then Goto EndAndExit Endif EndAndExit: End For that situations I find Goto very useful. If I use Goto, I only use it to jump downwards. I for me found out that jumping upwards is a jump to hell. And if it is really useful (jumping upwards, very very seldom) then it has to be heavily documented. Alles Gute Christof Thalhofer -- Dies ist keine Signatur signature.asc Description: OpenPGP digital signature -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user