Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1466 connectés 

 

Sujet(s) à lire :
    - Who's who@Programmation
 

 Mot :   Pseudo :  
  Aller à la page :
 
 Page :   1  2  3  4  5  ..  20394  20395  20396  ..  27197  27198  27199  27200  27201  27202
Auteur Sujet :

[blabla@olympe] Le topic du modo, dieu de la fibre et du monde

n°2180761
flo850
moi je
Posté le 15-03-2013 à 15:53:08  profilanswer
 

Reprise du message précédent :

ixemul a écrit :


 
Je préfère les conventions de nommage, au moins c'est indépendant du langage  [:spamafote]


Entièrement d'accord, autant prendre le dénominateur commun entre PHP et Java, c'est plus lisible


---------------

mood
Publicité
Posté le 15-03-2013 à 15:53:08  profilanswer
 

n°2180762
fiscalisat​or
tu dois rompre
Posté le 15-03-2013 à 15:54:02  profilanswer
 

Quelqu'un aurait un lien qui explique la gestion classe imbriquée pour la copie vers un seul bean ?
 
... du genre @EmbeddedId de JPA :o ?
 
 
.... avec dozer-si-possible ? :o

n°2180763
ixemul
Nan mais sans blague ! ⚡
Posté le 15-03-2013 à 15:54:04  profilanswer
 

masklinn a écrit :


Le gros naze qui sait pas utiliser un private set [:bakk34]  
 
Un vrai il fait ça:

Code :
  1. public string Toto { get; private set; }
  2.  
  3. public void MaMethode(string toto)
  4. {
  5.    Toto = toto;
  6. }



 
Sauf que mon exemple est fait pour les enfants [:dawa]
 
Ton exemple ne mets pas en valeur la problématique entre propriété, attribut et paramètre, du coup, si tu veux faire un traitement sur ton attribut avant retour par propriété, t'es baisé et il te faudra reprendre ton code [:ocube]


---------------
VA APPRENDRE ET REVIENS QUAND TU SAIS, SINON ABSTIENT TOI C'EST UN GRAND CONSEIL QUE JE TE DONNE... TU ES INCOMPÉTENT ET C'EST UNE RÉALITÉ, TU N'AS RIEN A FAIRE ICI FAUT S'Y CONNAITRE ... -Jojo1998 - RIP - http://tinyurl.com/qc47ftk
n°2180764
skeye
Posté le 15-03-2013 à 15:54:19  profilanswer
 

masklinn a écrit :

(en Go, si ça commence par une majuscule c'est public sinon c'est privé)


 
Welcome to 1959 aka "et si on donnait une importance énorme à des détails de présentation ridicule?".[:pingouino]


---------------
Can't buy what I want because it's free -
n°2180766
el muchach​o
Comfortably Numb
Posté le 15-03-2013 à 15:56:01  profilanswer
 

Xavier_OM a écrit :


this partout :o pour des questions de lisibilité. Et le nom de la classe devant les membres static.


Va brûler en enfer :o

hephaestos a écrit :


Ben justement tu appelles ta variable foo, ton membre foo, et quand tu te retrouves avec les deux dans un coin de ton code tu utilises this, et ailleurs tu l'utilises pas. Parce que de toutes façons si les deux trucs ont le même nom c'est qu'il y a une ambiguïté et qu'il faut en être conscient.


this

Message cité 1 fois
Message édité par el muchacho le 15-03-2013 à 16:05:16

---------------
Les aéroports où il fait bon attendre, voila un topic qu'il est bien
n°2180767
lorill
Posté le 15-03-2013 à 15:56:17  profilanswer
 

Moi je nomme toutes mes collections avec un @ en prefixe, comme en perl. A moins que ce ne soit pour les variables d'instance, comme en ruby, je sais plus.

n°2180768
R3g
fonctionnaire certifié ITIL
Posté le 15-03-2013 à 15:56:39  profilanswer
 

masklinn a écrit :


Le gros naze qui sait pas utiliser un private set [:bakk34]  
 
Un vrai il fait ça:

Code :
  1. public string Toto { get; private set; }
  2.  
  3. public void MaMethode(string toto)
  4. {
  5.    Toto = toto;
  6. }



une property qui commence par une majuscule ?


---------------
Au royaume des sourds, les borgnes sont sourds.
n°2180769
masklinn
í dag viðrar vel til loftárása
Posté le 15-03-2013 à 15:57:04  profilanswer
 

lorill a écrit :

Moi je nomme toutes mes collections avec un @ en prefixe, comme en perl. A moins que ce ne soit pour les variables d'instance, comme en ruby, je sais plus.


Attention faut un @ non-greedy, techniquement @@foo est aussi préfixé par @ mais c'est une variable de classe :D

R3g a écrit :


une property qui commence par une majuscule ?


Coding conventions C#: méthodes et props sont PascalCase, indent style Allman [:everything4free]

Message cité 1 fois
Message édité par masklinn le 15-03-2013 à 15:58:24

---------------
I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing?
n°2180770
ixemul
Nan mais sans blague ! ⚡
Posté le 15-03-2013 à 15:57:35  profilanswer
 

R3g a écrit :


une property qui commence par une majuscule ?


 
Il y a intérêt !  [:florentg]


---------------
VA APPRENDRE ET REVIENS QUAND TU SAIS, SINON ABSTIENT TOI C'EST UN GRAND CONSEIL QUE JE TE DONNE... TU ES INCOMPÉTENT ET C'EST UNE RÉALITÉ, TU N'AS RIEN A FAIRE ICI FAUT S'Y CONNAITRE ... -Jojo1998 - RIP - http://tinyurl.com/qc47ftk
n°2180771
ixemul
Nan mais sans blague ! ⚡
Posté le 15-03-2013 à 15:58:56  profilanswer
 

lorill a écrit :

Moi je nomme toutes mes collections avec un @ en prefixe, comme en perl. A moins que ce ne soit pour les variables d'instance, comme en ruby, je sais plus.


 
Ouais mais du coup c'est pas portable en Assembleur 68k sous AsmOne [:sadnoir]


---------------
VA APPRENDRE ET REVIENS QUAND TU SAIS, SINON ABSTIENT TOI C'EST UN GRAND CONSEIL QUE JE TE DONNE... TU ES INCOMPÉTENT ET C'EST UNE RÉALITÉ, TU N'AS RIEN A FAIRE ICI FAUT S'Y CONNAITRE ... -Jojo1998 - RIP - http://tinyurl.com/qc47ftk
mood
Publicité
Posté le 15-03-2013 à 15:58:56  profilanswer
 

n°2180772
Taiche
(╯°□°)╯︵ ┻━┻
Posté le 15-03-2013 à 16:00:27  profilanswer
 

skeye a écrit :

Welcome to 1959 aka "et si on donnait une importance énorme à des détails de présentation ridicule?".[:pingouino]


Fun fact : Python utilise l'indentation pour la gestion des blocs [:dawao]


---------------
Everyone thinks of changing the world, but no one thinks of changing himself  |  It is the peculiar quality of a fool to perceive the faults of others and to forget his own  |  Early clumsiness is not a verdict, it’s an essential ingredient.
n°2180773
masklinn
í dag viðrar vel til loftárása
Posté le 15-03-2013 à 16:02:18  profilanswer
 

Taiche a écrit :

Fun fact : Python utilise l'indentation pour la gestion des blocs [:dawao]


C'est pas un détail de présentation ridicule ça:

Code :
  1. if (foo == 3)
  2.    if (bar != 4)
  3.        doThisThing()
  4. else
  5.    doThisOtherThing()


 [:masklinn:4]

Message cité 1 fois
Message édité par masklinn le 15-03-2013 à 16:25:20

---------------
I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing?
n°2180774
Taiche
(╯°□°)╯︵ ┻━┻
Posté le 15-03-2013 à 16:02:55  profilanswer
 

masklinn a écrit :


C'est pas un de présentation ridicule ça:

Code :
  1. if (foo == 3)
  2.    if (bar != 4)
  3.        doThisThing()
  4. else
  5.    doThisOtherThing()


 [:masklinn:4]


Ah mais je sais, c'était juste pour dire que c'est pas restreint à 1959 [:dawao]


---------------
Everyone thinks of changing the world, but no one thinks of changing himself  |  It is the peculiar quality of a fool to perceive the faults of others and to forget his own  |  Early clumsiness is not a verdict, it’s an essential ingredient.
n°2180776
Xavier_OM
Monarchiste régicide (fr quoi)
Posté le 15-03-2013 à 16:07:13  profilanswer
 

el muchacho a écrit :


Va brûler en enfer :o


$ find -name '*.cs' -exec grep -Hn 'this\.' {} \; | wc -l
35173
1486 files
 
 [:biff tannen]


---------------
Il y a autant d'atomes d'oxygène dans une molécule d'eau que d'étoiles dans le système solaire.
n°2180777
el muchach​o
Comfortably Numb
Posté le 15-03-2013 à 16:08:13  profilanswer
 

Tiens, puisqu'on est sur Java, qq sait utiliser SoftReference<> et WeakReference<> ?


---------------
Les aéroports où il fait bon attendre, voila un topic qu'il est bien
n°2180778
skeye
Posté le 15-03-2013 à 16:08:27  profilanswer
 

Taiche a écrit :


Fun fact : Python utilise l'indentation pour la gestion des blocs [:dawao]


 
ce qui doit expliquer que je m'y sois jamais mis.[:doc petrus]


---------------
Can't buy what I want because it's free -
n°2180779
SekYo
Posté le 15-03-2013 à 16:11:02  profilanswer
 

J'en ai marre de faire de l'admin sys alors que mon métier c'est développeur :o

n°2180780
R3g
fonctionnaire certifié ITIL
Posté le 15-03-2013 à 16:16:49  profilanswer
 

masklinn a écrit :


Coding conventions C#: méthodes et props sont PascalCase, indent style Allman [:everything4free]


 

ixemul a écrit :


 
Il y a intérêt !  [:florentg]


 
Ah oui c'est vrai, j'ai du confondre avec java


---------------
Au royaume des sourds, les borgnes sont sourds.
n°2180781
boulax
Inserer phrase hype en anglais
Posté le 15-03-2013 à 16:17:43  profilanswer
 

el muchacho a écrit :

Tiens, puisqu'on est sur Java, qq sait utiliser SoftReference<> et WeakReference<> ?


useCase?


---------------
Posté depuis des chiottes, sales. Me gusta.
n°2180782
___alt
Posté le 15-03-2013 à 16:24:13  profilanswer
 

ixemul a écrit :

C'est un truc de javateu qui n'a pas de properties et de convention de nomage...


 
En fait on a des conventions de nommage mais on a décidé de pas mettre de verbosité inutile dans les noms de variable, ça aide à la compréhension [:bien]
 
Je sais bien que les nostalgiques du c/c++ aiment se caresser le zboub en ajoutant ptr après leurs noms de variables non-primitives, mais on n'en est pas là hein [:bien]
 


---------------
TRIPS RIGHT BUNCH F SHUTTLE TOM AND JERRY RIGHT YELLOW
n°2180784
masklinn
í dag viðrar vel til loftárása
Posté le 15-03-2013 à 16:26:52  profilanswer
 

___alt a écrit :

En fait on a des conventions de nommage mais on a décidé de pas mettre de verbosité inutile dans les noms de variable, ça aide à la compréhension [:bien]

 

Je sais bien que les nostalgiques du c/c++ aiment se caresser le zboub en ajoutant ptr après leurs noms de variables non-primitives, mais on n'en est pas là hein [:bien]


Non non, ce sont just les suppots de MS. Et t'as oublié m_*, ulVar et bPort :o

Message cité 2 fois
Message édité par masklinn le 15-03-2013 à 16:28:10

---------------
I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing?
n°2180785
___alt
Posté le 15-03-2013 à 16:34:09  profilanswer
 

masklinn a écrit :


Non non, ce sont just les suppots de MS. Et t'as oublié m_*, ulVar et bPort :o


 
 [:popok]  [:popok]  [:popok]


---------------
TRIPS RIGHT BUNCH F SHUTTLE TOM AND JERRY RIGHT YELLOW
n°2180786
Taiche
(╯°□°)╯︵ ┻━┻
Posté le 15-03-2013 à 16:36:49  profilanswer
 

Et le type de la classe en préfixe aussi, très usité dans la gestion d'UI : lblName, cbCountryName ou encore lstYear.


---------------
Everyone thinks of changing the world, but no one thinks of changing himself  |  It is the peculiar quality of a fool to perceive the faults of others and to forget his own  |  Early clumsiness is not a verdict, it’s an essential ingredient.
n°2180787
sligor
Posté le 15-03-2013 à 16:37:04  profilanswer
 

a_crszkvc30LastNameCol: a constant reference argument, holding the contents of a database column LastName of type varchar(30) which is part of the table's primary key.


---------------
qwerty-fr
n°2180789
Taiche
(╯°□°)╯︵ ┻━┻
Posté le 15-03-2013 à 16:39:00  profilanswer
 

sligor a écrit :

a_crszkvc30LastNameCol: a constant reference argument, holding the contents of a database column LastName of type varchar(30) which is part of the table's primary key.


Ah c'est marrant, moi j'aurais parié sur un dev polonais.


---------------
Everyone thinks of changing the world, but no one thinks of changing himself  |  It is the peculiar quality of a fool to perceive the faults of others and to forget his own  |  Early clumsiness is not a verdict, it’s an essential ingredient.
n°2180790
___alt
Posté le 15-03-2013 à 16:42:21  profilanswer
 

Taiche a écrit :

Et le type de la classe en préfixe aussi, très usité dans la gestion d'UI : lblName, cbCountryName ou encore lstYear.


 
[:rofl]


---------------
TRIPS RIGHT BUNCH F SHUTTLE TOM AND JERRY RIGHT YELLOW
n°2180791
Taiche
(╯°□°)╯︵ ┻━┻
Posté le 15-03-2013 à 16:45:22  profilanswer
 


Inventé de toute pièce, j'ai pas fait gaffe :D J'ai juste pensé à ces sites où tu fois choisir une année de naissance (ou d'expiration de CB) via une liste déroulante [:dawao]


---------------
Everyone thinks of changing the world, but no one thinks of changing himself  |  It is the peculiar quality of a fool to perceive the faults of others and to forget his own  |  Early clumsiness is not a verdict, it’s an essential ingredient.
n°2180793
R3g
fonctionnaire certifié ITIL
Posté le 15-03-2013 à 16:51:50  profilanswer
 


J'ai pas compris la blague :??:


---------------
Au royaume des sourds, les borgnes sont sourds.
n°2180795
Taiche
(╯°□°)╯︵ ┻━┻
Posté le 15-03-2013 à 17:09:51  profilanswer
 

FAUT-IL ETRE CON


---------------
Everyone thinks of changing the world, but no one thinks of changing himself  |  It is the peculiar quality of a fool to perceive the faults of others and to forget his own  |  Early clumsiness is not a verdict, it’s an essential ingredient.
n°2180797
masklinn
í dag viðrar vel til loftárása
Posté le 15-03-2013 à 17:17:57  profilanswer
 

Taiche a écrit :

Inventé de toute pièce


https://github.com/search?q=lstYear [...] &type=Code


---------------
I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing?
n°2180799
Taiche
(╯°□°)╯︵ ┻━┻
Posté le 15-03-2013 à 17:21:59  profilanswer
 


Bingo [:petrus75]
 
R3g : j'ai pensé que ___alt rigolait passke "lstYear" fait penser à "last year" donc un nom mal foutu pour une variable, mais je me suis peut-être fourvoyé [:dawao]


---------------
Everyone thinks of changing the world, but no one thinks of changing himself  |  It is the peculiar quality of a fool to perceive the faults of others and to forget his own  |  Early clumsiness is not a verdict, it’s an essential ingredient.
n°2180802
Blackyell
$question = $to_be || !$to_be;
Posté le 15-03-2013 à 17:58:31  profilanswer
 

LibreOffice et les docx  [:kiki]

n°2180803
sligor
Posté le 15-03-2013 à 18:15:43  profilanswer
 

LibreOffice [:kiki]


---------------
qwerty-fr
n°2180804
sligor
Posté le 15-03-2013 à 18:18:56  profilanswer
 


faut assister tous ces attardés de de chevreuils improductifs qui jouent du djembé, donc on taxe


---------------
qwerty-fr
n°2180805
Shinuza
This is unexecpected
Posté le 15-03-2013 à 18:19:00  profilanswer
 

ixemul a écrit :


 
Je préfère les conventions de nommage, au moins c'est indépendant du langage [:spamafote]

Stop le troll. Y'a des conventions qui sont inhérentes au language.

skeye a écrit :


 
ce qui doit expliquer que je m'y sois jamais mis.[:doc petrus]


Ça m'évite de lire ça
 

Code :
  1. public function
  2. {
  3.  // Vomi
  4. }


---------------
Mains power can kill, and it will hurt the entire time you’re dying from it.
n°2180806
Jubijub
Parce que je le VD bien
Posté le 15-03-2013 à 18:22:21  profilanswer
 

sligor a écrit :


faut assister tous ces attardés de de chevreuils improductifs qui jouent du djembé, donc on taxe


Ivre, il poste n'importe quoi


---------------
Jubi Photos : Flickr - 500px
n°2180807
sligor
Posté le 15-03-2013 à 18:27:56  profilanswer
 

Jubijub a écrit :


Ivre, il poste n'importe quoi


desencyclopédie/chevreuil


---------------
qwerty-fr
n°2180808
Profil sup​primé
Posté le 15-03-2013 à 18:31:27  answer
 

Ca boom ?
 
 :jap:  
 
/Sans intérêt.

n°2180810
sligor
Posté le 15-03-2013 à 18:33:47  profilanswer
 

non ça troll


---------------
qwerty-fr
n°2180811
flo850
moi je
Posté le 15-03-2013 à 18:34:30  profilanswer
 

cv mise a jour
http://stri.im:8756 (ne pas quoter)

Message cité 1 fois
Message édité par flo850 le 15-03-2013 à 18:34:45

---------------

n°2180813
Profil sup​primé
Posté le 15-03-2013 à 18:40:21  answer
 

Je peux faire jouer mon jeu d'échecs comme je veux presque.
Mais c'est hyper long, attendre deux heure pour un bug ou un mat raté, ça m'enerve plus qu'autre chose... Parfois ça mache, et même ça marche mieux sans Minimax :/
J'ai pas encore teysté niveau deux parce que c'est timeout.
Mais j'espère que ça fasse comme niveau 1 parfois, ça prend 30 minute à commencer puis en 5 minute ça termine.
J'en suis à la version 25 quand même depuis le 1ier mars que je suis dessus, je sais pas combien ça fait d'heure de mise au point, mais trois jeurs de dev, et le reste de debugg.

mood
Publicité
Posté le   profilanswer
 

 Page :   1  2  3  4  5  ..  20394  20395  20396  ..  27197  27198  27199  27200  27201  27202

Aller à :
Ajouter une réponse
 

Sujets relatifs
Plus de sujets relatifs à : [blabla@olympe] Le topic du modo, dieu de la fibre et du monde


Copyright © 1997-2025 Groupe LDLC (Signaler un contenu illicite / Données personnelles)