Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Splitting on several lines
Message
De
04/06/2013 08:54:28
 
 
À
04/06/2013 03:36:24
Information générale
Forum:
Javascript
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01575403
Message ID:
01575575
Vues:
26
>I went through the same steps myself (hungarian, if else endif, for, ...)
>
>After learning from 'pro' JavaScript code, I realized that using JavaScript native features made code much simpler, thus readable and maintainable: less if (coercion), switch (cond ? value1: value2), for (iterators from JS frameworks)
>
>Christof often mentions it, a different language often brings a different way of thinking, and developing.
>
>Paradox!

Learning curve sometimes will bring things like that. But, this syntax is very particular to javascript. Thus, you cannot apply it in .NET, VFP or else, for example. The other approach, the one I am using, is also practical in javascript. As a matter of fact, if you search for a few messages, or you might have already seen a few messages that members are mentioning that the code I paste is easily understandable, especially when I paste code in .NET, because that one in particular is an interface that there wasn't much of naming convention and so on. I already mentioned that code examples of .NET across the .NET is often incomplete, namespace not included, variables like i and things like that. At least, in VFP, we were using pretty much the same naming convention. Thanks to YAG when I first attended his class in Raleign, NC which was the start of something new that I kept learning and evolve since then.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform