|
Bas de page | |
---|---|
Auteur | Sujet : Passer en poo ? |
![]() Publicité | Posté le 18-08-2008 à 00:48:47 ![]() ![]() |
philipMo | Si je comprends bien, tu verrais un truc comme ça ?
|
yellu | Moi je te conseil de passer en francais completement ou en anglais completement dans la nomination de tes méthodes / attributs, parce que les getFatigue et isDefensor ça irrite je trouve... |
weed |
|
philipMo | Je note, mais j'avoue que pour le moment, cela m'importe peu. Budlite m'a proposé des fonctions (merci d'ailleurs), je cherche seulement à savoir si la structure, dans mon cas de figure, est correcte. Qu'en pensez-vous ? (notamment d'instancier la classe joueur dans la classe equipe, car je ne suis pas sûr que Budlite voulait dire ça). |
budlite Fresh |
--------------- Fresh |
esox_ch | Salut,
--------------- Si la vérité est découverte par quelqu'un d'autre,elle perd toujours un peu d'attrait |
budlite Fresh |
--------------- Fresh |
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? |
![]() Publicité | Posté le 19-08-2008 à 09:41:03 ![]() ![]() |
budlite Fresh |
--------------- Fresh |
masklinn í dag viðrar vel til loftárása |
Message cité 1 fois Message édité par masklinn le 19-08-2008 à 11:39:45 --------------- 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? |
budlite Fresh |
--------------- Fresh |
esox_ch |
C'est bien ce que j'entendais.. Si j'avais voulu dire que c'était une pratique que les dev ont, ça pourrait être pareil dans tous les langages.. Concernant le fait de retourner $this ou la valeur ... C'est un choix :
Message cité 1 fois Message édité par esox_ch le 19-08-2008 à 20:35:08 --------------- Si la vérité est découverte par quelqu'un d'autre,elle perd toujours un peu d'attrait |
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? |
esox_ch | T1 mais je dois mal m'exprimer (ou alors vous comprenez tout de travers).
--------------- Si la vérité est découverte par quelqu'un d'autre,elle perd toujours un peu d'attrait |
masklinn í dag viðrar vel til loftárása |
Message cité 1 fois Message édité par masklinn le 19-08-2008 à 21:02:09 --------------- 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? |
CyberDenix |
--------------- Directeur Technique (CTO) |
esox_ch |
Certes, mais si tu sais que tu vas souvent devoir ajouter de la fatigue à un joueur (par exemple s'il subit un tacle), et que donc tu vas le changer s'il a plus que X de fatigue, ça peut être pratique de faire un :
Message cité 1 fois Message édité par esox_ch le 19-08-2008 à 23:40:36 --------------- Si la vérité est découverte par quelqu'un d'autre,elle perd toujours un peu d'attrait |
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? |
esox_ch | Faut voir dans le contexte de l'appli ..
--------------- Si la vérité est découverte par quelqu'un d'autre,elle perd toujours un peu d'attrait |
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? |
esox_ch | Mouais bof je suis pas convaincu .. Mais de toutes façons on s'en fout
--------------- Si la vérité est découverte par quelqu'un d'autre,elle perd toujours un peu d'attrait |
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? |
esox_ch | Pas convaincu que ce soit beaucoup mieux. Me semble que les 2 approches sont valables Message édité par esox_ch le 20-08-2008 à 15:09:05 --------------- Si la vérité est découverte par quelqu'un d'autre,elle perd toujours un peu d'attrait |
philipMo | Merci pour vos réponses. Mais pour ce qui concerne le ruby, j'avoue que cela ne m'intéresse pas. Message édité par philipMo le 20-08-2008 à 18:19:18 |
esox_ch | Bah tu peux créer un tableau joueurs à partir des 2 autres ayant comme index l'ID du l'utilisateur et comme valeur la valeur en question, après tu fais un sort et c'est bon.. Sinon si tu as déjà à portée de main un array contenant tous les ID des joueurs, tu peux faire une requête SQL sur ces ID avec un ORDER BY fatigue --------------- Si la vérité est découverte par quelqu'un d'autre,elle perd toujours un peu d'attrait |
![]() Publicité | Posté le ![]() ![]() |
Sujets relatifs | |
---|---|
Servlet passer une ligne "\n" | [RESOLU] Pb pour passer des arguments de ligne de commande |
Ecrire sur une clé USB sans passer par le FS | [shell] Passer stdin à une commande passé au shell sur stdin |
passer de mac à windows | Passer un objet Array à une fonction JS |
Passer une valeur dans le liens!? GET ou POST? [RESOLUS] | Comment passer du flash au .html |
Passer d'un site en frame en div | Macro excel passer plusieurs variable |
Plus de sujets relatifs à : Passer en poo ? |