23734Fermer23736
GodzilLe 03/10/2014 à 18:23
c'est tres interessant la video, et j'adore les questions a la fin ( et les commentaires sur la video )

Sinon, lie a la video:
http://realtimecollisiondetection.net/blog/?p=44
suivit de http://realtimecollisiondetection.net/blog/?p=81


Je suis d'accord avec lui et sur et surtout sur point a la con, le nom de ces trucs que je trouve plus confusant qu'autre chose. Genre il parle du "visitor pattern" je me demandais ce que ca pouvais etre, j'ai cherche dans google je suis tombe la dessus:

http://fr.wikipedia.org/wiki/Visiteur_(patron_de_conception)

La gros WTF sur ma tete o_O

Je clique sur "patron de conception" et on tombe sur http://fr.wikipedia.org/wiki/Patron_de_conception qui est donc, pour certains, la traduction de "design pattern"

Deja rien que mot a mot la traduction est foireuse... Mais on atteinds le sommet la :/

Et quand je lit ce genre de propos:
In object-oriented programming and software engineering, the visitor design pattern is a way of separating an algorithm from an object structure on which it operates. A practical result of this separation is the ability to add new operations to existing object structures without modifying those structures. It is one way to follow the open/closed principle.
In essence, the visitor allows one to add new virtual functions to a family of classes without modifying the classes themselves; instead, one creates a visitor class that implements all of the appropriate specializations of the virtual function. The visitor takes the instance reference as input, and implements the goal through double dispatch.

Soit mon cerveau explose devant ce genre de propos, soit j'ai l'impression d'etre un M. Jourdain.... (personellement je n'ai jaiams reussi a suivre plus de 5min un "discours" sur le bienfait des DP sans un ennuit formidable ou l'envie de meutre sur celui qui essaye de me persuader que c'est le bien)