Session du 2015 04 03 - dojo-developpement-paris/dojo-developpement-paris.github.io GitHub Wiki
###Prochain dojo: Mardi 7 Avril (au 5° Étage)
###Etaient présent ce soir là:
- Michel Belleville
- Detant Xavier
- Christophe Thibaut
- Patrick Giry
- Brahim Amairi
- Olivier Galy
- Stéphane Rolland
- Xavier Detant
- Fabien Lamarque
- Maxime Beugnet
###Rétrospective de la dernière session
- kata pas terminé: juste assez de temps pour mettre en place l'oracle et quickcheck
- passé trop vite sur quickcheck
- Il y a un bon article sur quickcheck dans le livre The fun of programming
- Arriver avec l'oracle pour ce kata
- Le code de l'oracle est simple, voire simpliste (car en O(n!))
- Le code de l'oracle est faux (il faut un sort avant la fonction)
###Sujets
- A Randori Poker Hand Calisthenics Ruby
- B Randori Poker Hand Haskell
- C Randori Nombre Romain vers Arabes et vice versa en ruby et TPP
- D Randori Fusion de deux tries (la structure de données) en Haskell
###Code produit
Transformation Priority Premise
- The Transformations[edit]
- ({}–>nil) no code at all->code that employs nil
- (nil->constant)
- (constant->constant+) a simple constant to a more complex constant
- (constant->scalar) replacing a constant with a variable or an argument
- (statement->statements) adding more unconditional statements.
- (unconditional->if) splitting the execution path
- (scalar->array)
- (array->container)
- (statement->recursion)
- (if->while)
- (expression->function) replacing an expression with a function or algorithm
- (variable->assignment) replacing the value of a variable.
- Uncle Bob also explicitly stated: "There are likely others".
Un trie:
http://upload.wikimedia.org/wikipedia/commons/b/be/Trie_example.svg