Very nice talk. A bit ambiguous with the term singleton. There is the singleton pattern as described in the Gof4 book which is the one that is problematic to test and there is the single instance of a class throughout the life of the application. There is nothing wrong with the latter IMO.
Well I think he refered to the latter case as "the class with singleton lifetime" and not a singleton (I noticed this ambiguity only when he talked about the Login_class). And he did not say it was problematic to test because it had singleton lifetime, he said it was problematic owing to it's dependencies, and therefore that particular class might have been better as short-lived class with different dependencies, that wouldn't force it to break the law of Demeter.Am I getting it right?
I also saw his previous "clean code talks" (it's been a while, so it was a good opportunity to refresh it), but am I wrong or did he change his mind about null objects? iirc, before he was a proponent of using null pointers.
I've searched for the other 3 talks (since this is the fourh) but I couldn't find them. Can someone please give me the link?
vaulttech 1 week ago
Very nice talk. A bit ambiguous with the term singleton. There is the singleton pattern as described in the Gof4 book which is the one that is problematic to test and there is the single instance of a class throughout the life of the application. There is nothing wrong with the latter IMO.
edovale 10 months ago
@edovale
Well I think he refered to the latter case as "the class with singleton lifetime" and not a singleton (I noticed this ambiguity only when he talked about the Login_class). And he did not say it was problematic to test because it had singleton lifetime, he said it was problematic owing to it's dependencies, and therefore that particular class might have been better as short-lived class with different dependencies, that wouldn't force it to break the law of Demeter.Am I getting it right?
SKOMonster 9 months ago
I meant LoginPage, sorry.
SKOMonster 9 months ago
Misko Hevery for president!
spamero2 10 months ago
Thanks for the great presentation.
saip106 11 months ago
Awesome presentation!
pereznels 1 year ago
This has been flagged as spam show
Holly shit here Latino Beauties **rockmycity.info**
deonnamalbroughkgh 1 year ago
This has been flagged as spam show
call bbw now just now naneedj.info
dilkaa 1 year ago
This has been flagged as spam show
Free Energy is real and it's here but the coverup is strong, if u r interested in a REAL free energy magnet motor
just go to LT-MAGNET-MOTORdotCOM and download the blueprints ,it's probably the ONLY working magnet
motor out there. Join the free energy revolution!!
slanderousndgs 1 year ago
This has been flagged as spam show
The big bad Oil corporations r trying their best to stop free energy technology from spreading to common ppl.
We need to put an end to this corruption ,start generating ur own electricity now.
Visit LT-MAGNET-MOTORdotCOM and get the blueprints . Join the Revolution!!
despinapjr 1 year ago
This has been flagged as spam show
tubifier (dot) com is the best site to get this mp3.
domineeringism 1 year ago
Misko thank you very much for doing these talks. Your clean code talks has helped my work tremendously.
neohubris 2 years ago 12
You are so awesome
DotNetNukeVS 2 years ago
Great talk - simple, practical and to the point.
chrisgumms 2 years ago
Thanks...
I believe this is very helpful tip for all developers.
skeom21 2 years ago
Comment removed
McKurkyest 2 years ago
Another Great Talk- a summary of his other "Clean Code Talks".
The one thing I still lament that is not addressed well is how to simplify DI and Testing in C++.
LucianoMoretti1 2 years ago 2
I also saw his previous "clean code talks" (it's been a while, so it was a good opportunity to refresh it), but am I wrong or did he change his mind about null objects? iirc, before he was a proponent of using null pointers.
HansTheAtheist 2 years ago
Great talk!
espinchi 2 years ago 9
This has been flagged as spam show
Fucking google is the cancerous ass holes who are killing the internet.
bananalord12 2 years ago
This has been flagged as spam show
THANK YOU GOOGLE FOR KILLING YOUTUBE!
bananalord12 2 years ago