| |||||
| Auteur | Sujet : blabla@web |
|---|---|
skylight Made in France. | Reprise du message précédent : |
Publicité | Posté le 18-12-2006 à 14:42:09 ![]() ![]() |
skeye |
--------------- Can't buy what I want because it's free - |
skeye |
--------------- Can't buy what I want because it's free - |
FlorentG |
Si un jour PHP propose plusieurs constructeurs, alors ça serait n'importe quoi de devoir mettre la valeur par défaut dans tous les constructeurs. Là t'as de la chance, y'en a un seul. Maintenant quand tu parcours une classe et sa liste de membre, c'est plus mieux d'avoir cash les valeurs par défaut des membres, je vois pas pourquoi il faudrait se faire chier à aller voir le constructeur pour découvrir tout à coup qu'un membre se voit recevoir une valeur par défaut. Pareil si on refactorise et que le membre devient une constante ou devient static, la valeur y est directe. Et comme dis, avec ton super système de valeur par défaut dans le constructeur, dans la documentation (phpdoc), elle n'apparaîtera pas. C'est balot. Donc que des désavantages Message cité 3 fois Message édité par FlorentG le 18-12-2006 à 14:48:39 |
Dj YeLL $question = $to_be || !$to_be; |
--------------- Gamertag: CoteBlack YeLL |
Dj YeLL $question = $to_be || !$to_be; |
--------------- Gamertag: CoteBlack YeLL |
skeye |
--------------- Can't buy what I want because it's free - |
Dj YeLL $question = $to_be || !$to_be; |
--------------- Gamertag: CoteBlack YeLL |
anapajari s/travail/glanding on hfr/gs; | Ptain mais parce qu'il t'a fourni les outils en plus d'une rémunération pour le faire et que sans eux tu n'aurais pas pu le réaliser. Message cité 1 fois Message édité par anapajari le 18-12-2006 à 14:53:49 |
skylight Made in France. | mal choisi : tu TE fais à manger... |
Publicité | Posté le 18-12-2006 à 14:54:41 ![]() ![]() |
masklinn í dag viðrar vel til loftárása |
--------------- 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? |
Dj YeLL $question = $to_be || !$to_be; |
--------------- Gamertag: CoteBlack YeLL |
skeye |
--------------- Can't buy what I want because it's free - |
FlorentG |
|
anapajari s/travail/glanding on hfr/gs; |
|
FlorentG |
|
skeye | si.
Oué, sauf que si tu refactorises et que t'oublies cette connerie d'initialisation à la déclaration de la variable, ça va marcher comme tu le veux, mais ta doc sera fausse quand même.
Quelle différence? Message cité 1 fois Message édité par skeye le 18-12-2006 à 15:14:44 --------------- Can't buy what I want because it's free - |
FlorentG |
|
skeye |
--------------- Can't buy what I want because it's free - |
masklinn í dag viðrar vel til loftárása |
Ils sont même pas capables de mettre en place des *args correctement
Message cité 1 fois Message édité par masklinn le 18-12-2006 à 15:39:22 --------------- 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? |
FlorentG |
|
skeye |
--------------- Can't buy what I want because it's free - |
masklinn í dag viðrar vel til loftárása |
--------------- 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? |
FlorentG |
|
FlorentG |
skeye |
Message cité 1 fois Message édité par skeye le 18-12-2006 à 15:57:46 --------------- Can't buy what I want because it's free - |
FlorentG |
|
Harkonnen Un modo pour les bannir tous |
boulax Inserer phrase hype en anglais |
Master p My new cock ring :D |
--------------- HAHAHA I M USING TEH INTERNET |
FlorentG |
|
masklinn í dag viðrar vel til loftárása |
Message édité par masklinn le 18-12-2006 à 16:47:36 --------------- 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? |
FlorentG | Ah ben dans PHP ils ont fait la moitié
|
masklinn í dag viðrar vel til loftárása | Est-ce que tu peux affecter une valeur à $d sans changer celle par défaut de $c? Message cité 1 fois Message édité par masklinn le 18-12-2006 à 16:49:32 --------------- 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? |
Master p My new cock ring :D |
Message édité par Master p le 18-12-2006 à 16:49:41 --------------- HAHAHA I M USING TEH INTERNET |
anapajari s/travail/glanding on hfr/gs; |
Message édité par anapajari le 18-12-2006 à 16:52:03 |
masklinn í dag viðrar vel til loftárása |
--------------- 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? |
boulax Inserer phrase hype en anglais | http://www.opensymphony.com/ognl/
|
FlorentG |
|
Publicité | Posté le ![]() ![]() |






