Re: Better variable names

2017-02-26 Thread Kirk Brooks via 4D_Tech
David, ​Thank you for pointing that out. It was insensitive of me to be so blunt. ​ I've snarked about the design of the forums for about as long as I've been aware of them. I still don't think they are great but I certainly don't mean that as any sort of personal criticism. As this thread was

Re: Better variable names

2017-02-26 Thread David Adams via 4D_Tech
> I use this mailing list because I like to practice my poor english and most english contributors are here, Your English is fine and your ideas are typiclaly really good. I My French is limited to La chat est sur la table and Où les oiseaux? ...which are useful phrasees in

Re: Better variable names

2017-02-26 Thread Arnaud de Montard via 4D_Tech
> Le 26 févr. 2017 à 08:25, Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com> a > écrit : > > [...] We complain about the forums and get > told that we're just not doing it correctly. This has been going on for > years. If it were actually true we would all be over on the forums because > we're

Re: Better variable names

2017-02-25 Thread Kirk Brooks via 4D_Tech
I find the forums a throw back to - what, late '90s BBs or Compuserve. I know a lot of you remember Compuserve. We complain about the forums and get told that we're just not doing it correctly. This has been going on for years. If it were actually true we would all be over on the forums because

RE: Better variable names

2017-02-25 Thread Keith Goebel via 4D_Tech
> This tech tip should help explain the difference between +1 and voting: > > Tech Tip: How to vote for a feature request > http://kb.4d.com/assetid=76726 If doesn’t explain the list of users I had to select one from in order to precede with the vote (it appeared

Re: Better variable names

2017-02-25 Thread David Adams via 4D_Tech
On Sun, Feb 26, 2017 at 11:27 AM, Arnaud de Montard via 4D_Tech < 4d_tech@lists.4d.com> wrote: Thanks for the links. I've spent more than enough time criticizing the forums down the years to continue doing so. I was jus trying to say that it's not weird that I couldn't figure out how parts of it

Re: Better variable names

2017-02-25 Thread Chip Scheide via 4D_Tech
is there a forum feature request for these? :) > > That said, on inug I'm very frustrated because I can't add picture, > show code correctly, add a link, and so on. Hell is other people Jean-Paul Sartre **

Re: Better variable names

2017-02-25 Thread Arnaud de Montard via 4D_Tech
> Le 25 févr. 2017 à 22:58, David Adams via 4D_Tech <4d_tech@lists.4d.com> a > écrit : > > > Easy: Documentation is the go to patch for software with usability problems. > [...] See php: I think anyone visiting it the first time (as

Re: Better variable names

2017-02-25 Thread Arnaud de Montard via 4D_Tech
> Le 24 févr. 2017 à 23:18, Timothy Penner via 4D_Tech <4d_tech@lists.4d.com> a > écrit : > >> Does anyone know, is there an actual 'vote' mechanism, or are you just >> supposed to put down a +1 post? > > This tech tip should help explain the difference between +1 and voting: > > Tech Tip:

RE: Better variable names

2017-02-24 Thread Timothy Penner via 4D_Tech
> Does anyone know, is there an actual 'vote' mechanism, or are you just > supposed to put down a +1 post? This tech tip should help explain the difference between +1 and voting: Tech Tip: How to vote for a feature request http://kb.4d.com/assetid=76726 -Tim

Re: Better variable names

2017-02-24 Thread Kirk Brooks via 4D_Tech
Yes! And let's not overlook the ever popular series of process arrays named aTemp1, aTemp2, aTemp3 ... even better because they are referenced by pointers referring to some other pointer initialized - someplace. (Deep breath) Ok, thanks for that moment. On Fri, Feb 24, 2017 at 12:12 AM, Herr

Re: Better variable names

2017-02-24 Thread Jim Dorrance via 4D_Tech
I hate working on other developer's code where I am expected to guess the type by its use and context. It is a waste of my time and therefore a waste of my client's money. It is often possible to correct/optimise code without understanding the context. I was a photographer in a previous life, and

Re: Better variable names

2017-02-24 Thread David Adams via 4D_Tech
> Am I insane because I start by search/replace variable names prior > to understand some code from another? If you're insane, I'm insane with you. I can't really "read" code. Maybe some people can. I can read methods, but visualizing how they fit together and work? That's harder. I like to dig

Re: Better variable names

2017-02-24 Thread Arnaud de Montard via 4D_Tech
> Le 24 févr. 2017 à 09:12, Herr Alexander Heintz via 4D_Tech > <4d_tech@lists.4d.com> a écrit : > > [...] > Concerning the descriptor, I have found it more useful to have that up front, > spearated by underscore: > > $t_myText > $al_myLongArray > o_processObject > > etc. > Why? > 3 reasons:

Re: Better variable names

2017-02-24 Thread Herr Alexander Heintz via 4D_Tech
quite interesting read, thanks. The value of sensible naming never shows more strongly when you have to work with OPC (Other Peoples Code) and find generic variables like S_1 or AR1 that are used in changing roles throughout the code and are an incredible pain to debug, or even replace…

Re: Better variable names

2017-02-23 Thread Chip Scheide via 4D_Tech
it is all in the stars David :) > > Does anyone know, is there an actual 'vote' mechanism, or are you just > supposed to put down a +1 post? Hell is other people Jean-Paul Sartre ** 4D Internet Users Group

Better variable names

2017-02-23 Thread David Adams via 4D_Tech
Here's one of those thoughts that I think to repost every few years. Many of us use variable naming conventions to carry various bits of information about what's in the variable/array. Like this format: vtCity vlWindow Of course, no one uses that particular format as it's use will later condemn