17 books
—
22 voters
“How do I test private methods?” Many people spend a lot of time trying to figure out how to get around this problem, but, as I mentioned in an earlier chapter, the real answer is that if you have the urge to test a private method, the method shouldn’t be private; if making the method public bothers you, chances are, it is because it is part of a separate responsibility. It should be on another class.”
― Working Effectively with Legacy Code
― Working Effectively with Legacy Code
“There was an old joke about being left on a deserted island with an editor. You are starving. All you have left is a glass of orange juice. Days pass. You are near death. You are about to drink the juice when the editor grabs the glass from your hand and pees into it. You look at him, stunned . "There," the editor says, handing you the glass. "It just needed a little tweaking.”
― Promise Me
― Promise Me
“So basically, that entire theory is blown to hell."
Not basically," Win corrected. "Entirely.”
― Fade Away
Not basically," Win corrected. "Entirely.”
― Fade Away
“Myron reached for the phone and dialed Win's number. After the eighth ring he began to hang up when a weak, distant voice coughed. "Hello?"
Win?"
Yeah."
You okay?"
Hello?"
Win?"
Yeah."
What took you so long to answer the phone?"
Hello?"
Win?"
Who is this?"
Myron."
Myron Bolitar?"
How many other Myrons do you know?"
Myron Bolitar?"
No, Myron Rockefeller."
Something's wrong," Win said.
What?"
Terribly wrong."
What are you talking about?"
Some asshole is calling me at seven in the morning pretending to be my best friend."
Sorry, I forgot the time.”
― Deal Breaker
Win?"
Yeah."
You okay?"
Hello?"
Win?"
Yeah."
What took you so long to answer the phone?"
Hello?"
Win?"
Who is this?"
Myron."
Myron Bolitar?"
How many other Myrons do you know?"
Myron Bolitar?"
No, Myron Rockefeller."
Something's wrong," Win said.
What?"
Terribly wrong."
What are you talking about?"
Some asshole is calling me at seven in the morning pretending to be my best friend."
Sorry, I forgot the time.”
― Deal Breaker
“If complete and utter chaos was lightning, then he'd be the sort to stand on a hilltop in a thunderstorm wearing wet copper armour and shouting 'All gods are bastards!”
― The Color of Magic
― The Color of Magic
Rafał’s 2025 Year in Books
Take a look at Rafał’s Year in Books, including some fun facts about their reading.
More friends…
Polls voted on by Rafał
Lists liked by Rafał




































