Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Refactoring gratis
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  10 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Jacopo Romei  
View profile   Translate to Translated (View Original)
 More options Feb 14, 10:06 am
From: Jacopo Romei <jro...@gmail.com>
Date: Thu, 14 Feb 2013 16:06:59 +0100
Local: Thurs, Feb 14 2013 10:06 am
Subject: Refactoring gratis
Ciao!

Stasera terrò un workshop sul refactoring al PUG Milano. Avete qualche
'codebase' da farmi rifattorizzare per esercizio?

Requisiti:
- deve essere mostrabile in pubblico, niente codice top secret.
- deve essere installabile/eseguibile facilmente 'as is', quindi senza
richiedere di installare altri software, magari perfino non PHP.
- se posso far ricadere qualche beneficio del mio refactoring a favore
della comunità open source tanto meglio - beneficio da valutare a
valle della sessione con una bella pull request ovvio.
- a proposito di pull request, la presenza del codice su GitHub è una
bella comodità.
- altri che potrei dimenticare ora a dispetto della loro ovvietà.

Che dite? Avete qualche dritta? Qualche bel mostriciattolo (leggi
"orribile, schifoso, ma piccolo") da domare una volta per tutte e che
avete sempre rimandato di aggredire...

Grazie!

--
Jacopo Romei
http://www.sviluppoagile.it/
http://twitter.com/jacoporomei
http://www.anonimarmonisti.com/


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
liuggio  
View profile   Translate to Translated (View Original)
 More options Feb 14, 10:14 am
From: liuggio <liug...@gmail.com>
Date: Thu, 14 Feb 2013 16:14:25 +0100
Local: Thurs, Feb 14 2013 10:14 am
Subject: Re: Refactoring gratis

Ciao non vorrei essere troppo 'cattivo' ma faresti un gran piacere alla
comunità se semplificassi/rifattorizzassi
the monster:
https://github.com/doctrine/doctrine2/blob/master/lib/Doctrine/ORM/In...

2013/2/14 Jacopo Romei <jro...@gmail.com>

--
 __________________liuggio_________________________________

  __/|_      We reject kings, presidents and voting.
/o )   \/    We believe in rough consensus
)__ v _/\          and running code  (I.E.T.F. credo)
______________________________________________________________


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andrea Giuliano  
View profile   Translate to Translated (View Original)
 More options Feb 14, 10:16 am
From: Andrea Giuliano <shark...@gmail.com>
Date: Thu, 14 Feb 2013 16:16:21 +0100
Local: Thurs, Feb 14 2013 10:16 am
Subject: Re: Refactoring gratis

Ovviamente poi ci mandi il link della PR :)
--
Andrea Giuliano

Il giorno 14/feb/2013, alle ore 16:14, liuggio <liug...@gmail.com> ha scritto:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jacopo Romei  
View profile   Translate to Translated (View Original)
 More options Feb 14, 10:21 am
From: Jacopo Romei <jro...@gmail.com>
Date: Thu, 14 Feb 2013 16:21:07 +0100
Local: Thurs, Feb 14 2013 10:21 am
Subject: Re: Refactoring gratis

> Ciao non vorrei essere troppo 'cattivo' ma faresti un gran piacere alla
> comunità se semplificassi/rifattorizzassi
> the monster:
> https://github.com/doctrine/doctrine2/blob/master/lib/Doctrine/ORM/In...

La proposta è nello spirito giusto, grazie!
Dici che ce la faccio a far girare un test verde *prima* di avviare il
refactoring entro 30-60' che ho prima dell'avvio del meeting?

Andrea, certo! *Se* trovo roba open source da rifattorizzare sarò ben
lieto - *se* soddisfatto del refactoring effettuato - di inviare una
pull request al team d'origine.

--
Jacopo Romei
http://www.sviluppoagile.it/
http://twitter.com/jacoporomei
http://www.anonimarmonisti.com/


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
liuggio  
View profile   Translate to Translated (View Original)
 More options Feb 14, 10:40 am
From: liuggio <liug...@gmail.com>
Date: Thu, 14 Feb 2013 16:40:03 +0100
Local: Thurs, Feb 14 2013 10:40 am
Subject: Re: Refactoring gratis

Premetto ricordandoti che sei un master jedi quindi se qualcuno ce la puo'
fare quello sei tu Luke,
al volo ho visto che non c'è un test unitario su quella funzione ma
ci sono alcuni test che coprono la hydrateAll che a sua volta chiama
hydrateAllData che a sua volta il 'the monster'

2013/2/14 Jacopo Romei <jro...@gmail.com>

--
 __________________liuggio_________________________________

  __/|_      We reject kings, presidents and voting.
/o )   \/    We believe in rough consensus
)__ v _/\          and running code  (I.E.T.F. credo)
______________________________________________________________


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Eugenio Pombi  
View profile   Translate to Translated (View Original)
 More options Feb 14, 10:40 am
From: Eugenio Pombi <eux...@gmail.com>
Date: Thu, 14 Feb 2013 16:40:10 +0100
Local: Thurs, Feb 14 2013 10:40 am
Subject: Re: Refactoring gratis

ottima idea Jacopo, e ottima proposta Liuggio... solo che quel metodo è un
vero leviatano.

Non mi ricordo chi purtroppo (forse Paolo Polce), ma c'era uno speaker
all'agile day del 2011 che disse:

in fondo ad un metodo così non dovresti mettere chiusa parentesi graffa,
ma: "e vissero tutti felici e contenti" :)

ho provato a cercare se ci fosse già uno straccio di test da cui partire
nella suite di doctrine, ma non ho trovato nulla. Quindi alla tua domanda:

> Dici che ce la faccio a far girare un test verde *prima* di avviare il
> refactoring entro 30-60' che ho prima dell'avvio del meeting?

ti direi che se ci riesci allora puoi provare anche a camminare sull'acqua
e moltiplicare pizze e birre ;)

è una bella sfida

Il giorno 14 febbraio 2013 16:21, Jacopo Romei <jro...@gmail.com> ha
scritto:

--
*Eugenio Pombi*
*Developer*

tel:      +39.329.5455797
mail:    eux...@gmail.com
twitter: @euxpom
skype: euxeux

it.linkedin.com/pub/eugenio-pombi/3b/28b/99a


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
leonardo proietti  
View profile   Translate to Translated (View Original)
 More options Feb 14, 10:49 am
From: leonardo proietti <leonardo.proie...@gmail.com>
Date: Thu, 14 Feb 2013 16:49:29 +0100
Local: Thurs, Feb 14 2013 10:49 am
Subject: Re: Refactoring gratis

>Stasera terrò un workshop sul refactoring al PUG Milano. Avete qualche
>'codebase' da farmi rifattorizzare per esercizio?

https://github.com/ideatosrl/GeoAdapter

è semplice semplice ... va tolto l'autoloader custom e usato composer
i test ci sono già ed è una lib php; volendo potresti anche stubbare
qualche servizio esterno
per far vedere come si possa isolare un test.

chiaro che non va bene se vuoi far vedere come un mostro diventa un bel
principe :-)

Ciao
Leonardo


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jacopo Romei  
View profile   Translate to Translated (View Original)
 More options Feb 14, 10:51 am
From: Jacopo Romei <jro...@gmail.com>
Date: Thu, 14 Feb 2013 16:51:04 +0100
Local: Thurs, Feb 14 2013 10:51 am
Subject: Re: Refactoring gratis
Grazie a tutti, ora vediamo!

Intendo improvvisare e vediamo quanto tempo consumeremo.
Il Leviatano non è ancora fuori dal radar... ;-)

2013/2/14 leonardo proietti <leonardo.proie...@gmail.com>:

--
Jacopo Romei
http://www.sviluppoagile.it/
http://twitter.com/jacoporomei
http://www.anonimarmonisti.com/

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jacopo Romei  
View profile   Translate to Translated (View Original)
 More options Feb 14, 10:54 am
From: Jacopo Romei <jro...@gmail.com>
Date: Thu, 14 Feb 2013 16:54:10 +0100
Local: Thurs, Feb 14 2013 10:54 am
Subject: Re: Refactoring gratis
Avevo pensato anche ad uno dei file di phpMyAdmin.

Non abbiamo qualcosa del genere? Un mostriciattolo procedurale da
convertire all'OO....

:-)

--
Jacopo Romei
http://www.sviluppoagile.it/
http://twitter.com/jacoporomei
http://www.anonimarmonisti.com/


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Funaro  
View profile   Translate to Translated (View Original)
 More options Feb 14, 11:44 am
From: David Funaro <ing.david...@gmail.com>
Date: Thu, 14 Feb 2013 17:44:43 +0100
Local: Thurs, Feb 14 2013 11:44 am
Subject: Re: Refactoring gratis

2013/2/14 Eugenio Pombi <eux...@gmail.com>

> ottima idea Jacopo, e ottima proposta Liuggio... solo che quel metodo è un
> vero leviatano.

> Non mi ricordo chi purtroppo (forse Paolo Polce), ma c'era uno speaker
> all'agile day del 2011 che disse:

> in fondo ad un metodo così non dovresti mettere chiusa parentesi graffa,
> ma: "e vissero tutti felici e contenti" :)

se non sbaglio lo disse proprio Cirillo durante il keynote, una delle piu
belle battute degli ultimi tempi.
--
--------------------------------------
davidino
http://davidfunaro.com
http://about.me/david.funaro
ing.david...@gmail.com
--------------------------------------

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »