| |||||
| Auteur | Sujet : blabla@web |
|---|---|
theredled ● REC | Reprise du message précédent :
Je crois que j'en ai eu besoin une fois Message édité par theredled le 07-10-2009 à 17:22:22 --------------- Contes de fées en yaourt --- █ --- zed, souviens-toi de ma dernière lettre. --- Rate ta musique |
Publicité | Posté le 07-10-2009 à 17:21:32 ![]() ![]() |
masklinn í dag viðrar vel til loftárása |
C'est aussi (surtout) ce que fait django, dans la validation de formulaires (la validation de modèles est toujours pas include Mais chez eux, ça donne:
Message cité 1 fois Message édité par masklinn le 07-10-2009 à 17:33:00 --------------- 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? |
skeye |
--------------- Can't buy what I want because it's free - |
masklinn í dag viðrar vel til loftárása |
Message cité 1 fois Message édité par masklinn le 07-10-2009 à 17:34:14 --------------- 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? |
skeye |
Message cité 2 fois Message édité par skeye le 07-10-2009 à 17:35:02 --------------- Can't buy what I want because it's free - |
masklinn í dag viðrar vel til loftárása |
Et là encore, la structure d'erreurs n'est pas une erreur, c'est ce que tu demandes Message édité par masklinn le 07-10-2009 à 17:37:25 --------------- 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; |
masklinn í dag viðrar vel til loftárása |
Message cité 1 fois Message édité par masklinn le 07-10-2009 à 18:09:15 --------------- 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 07-10-2009 à 18:09:59 ![]() ![]() |
Dj YeLL $question = $to_be || !$to_be; |
--------------- Gamertag: CoteBlack YeLL |
FlorentG |
|
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 |
|
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 | C'était pour de rire |
skeye |
--------------- Can't buy what I want because it's free - |
koskoz They see me trollin they hatin | J'ai d'ailleurs été choqué de voir qu'en java on sort des exceptions tout le temps alors qu'en php c'est quelque chose de très rare. --------------- |
skeye |
--------------- Can't buy what I want because it's free - |
FlorentG |
|
FlorentG |
|
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? |
koskoz They see me trollin they hatin |
--------------- |
masklinn í dag viðrar vel til loftárása |
Message édité par masklinn le 07-10-2009 à 20:40:25 --------------- 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 |
|
theredled ● REC |
Sinon c'est vrai que python peut davantage se le permettre.. En PHP un catchage d'exception c'est 6 à 8 lignes direct (parce que ces cons ont pas implémenté de syntaxe courte, je sais pas si c'est pareil en Java) Message cité 2 fois Message édité par theredled le 07-10-2009 à 20:45:34 --------------- Contes de fées en yaourt --- █ --- zed, souviens-toi de ma dernière lettre. --- Rate ta musique |
Proov Art & Science |
|
masklinn í dag viðrar vel til loftárása |
Typiquement pour sortir une valeur d'un k/v, en Python quand la clé n'existe pas ça balance une exception (au lieu de renvoyer null comme en PHP ou en Java), et au lieu de checker la présence de la clé pour pas avoir l'exception, habituellement tu récupères ton machin et tu catche KeyError au cas où Message cité 1 fois Message édité par masklinn le 07-10-2009 à 21:28:00 --------------- 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? |
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? |
skeye |
--------------- Can't buy what I want because it's free - |
theredled ● REC |
--------------- Contes de fées en yaourt --- █ --- zed, souviens-toi de ma dernière lettre. --- Rate ta musique |
masklinn í dag viðrar vel til loftárása |
Parce qu'en utilisant le 1TBS c'est pas beaucoup plus verbeux que l'équivalent en Python:
Message cité 1 fois Message édité par masklinn le 07-10-2009 à 21:41:40 --------------- 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? |
theredled ● REC |
Difficile de l'utiliser tous les 3 statements sans donner un truc supra-laid... Message édité par theredled le 07-10-2009 à 21:56:33 --------------- Contes de fées en yaourt --- █ --- zed, souviens-toi de ma dernière lettre. --- Rate ta musique |
FlorentG |
|
Skateinmars |
--------------- Feedback HAV |
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 ![]() ![]() |






