Say "No" to the Open/Closed pattern

Jun 08, 2014 • Marco Cecconi

The open/closed principle is the second of the five SOLID principles. The best place to start to try and understand it is probably Uncle Bob's article on it, but you can also take a look at the Wikipedia page or read about it in Bertrand Meyer's "Object-Oriented Software Construction" book. The can…

Read the post »

I don't love the single responsibility principle

May 06, 2014 • Marco Cecconi

courtesy of wikipedia Did you ever happen to disagree with a colleague on the single responsibility principle and its application? Let's try to understand why that could be the case. I once worked with a colleague, whom we shall call Stan, who had a very different understanding of the single respo…

Read the post »

Answer for "Christmas visit nightmare"

Jun 26, 2013 • Marco Cecconi

TL;DR: Not only I did get an answer by an egregious reader (hi Emmet!), but it was a really good one. The way to solve the problem is to use an algorithm known as "earliest deadline first": you sort by ascending end date and then proceed in order, excluding the family members that overlap. Demonst…

Read the post »

Hacking Challenge: Christmas visits nightmare!

Jun 15, 2013 • Marco Cecconi

I originally wrote this challenge in 2012 to select a few developers for my previous company. They turned it down! I still think it's a nice puzzle. I would like to publish more in the future, let's see how this goes. Instructions Subsitute //Write code here... with your awesome solution. Feel hap…

Read the post »

How to use Forms-Based Authentication with MVC4

Jun 07, 2013 • Marco Cecconi

I am putting this down just to remind myself in the future, since the documentation I've found on-line is very lacking. To add extra context: you don't need anything else to use forms-based authentication. Most of the documentation you will find on-line will advise you to use some MembershipProvide…

Read the post »

LX week

May 29, 2013 • Marco Cecconi

I was in Lisbon this week visiting old friends. In exchange for a desk and WI-FI — and potentially some yummy pizza — I have been giving quick talks about the high level architecture of the Stack Exchange network and about our development philosophy: we like fast, really fast code! The talks were …

Read the post »

I am the Chief R&D at BaxEnergy, developer, hacker, blogger, conference lecturer. Bio: ex Stack Overflow core, ex Toptal core.

Read more

Newest Posts

TDD and the Zero-Defects Myth

TDD can’t guarantee zero-defects. Let us debunk this software development myth.

Read more
What can Stack Overflow learn from ChatGPT?

Stack Overflow could benefit from adopting a using conversational AI to provide specific answers

Read more
Fan mail

Multiple people with my name use my email address and I can read their email, chaos ensues!

Read more
Intelligent Trip

After years of building, our top-notch consultancy to help start-ups and scale-ups create great, scalable products, I think it is high time I added an update to how it is going and what's next for us.

Read more
Guest blog: Building, in partnership with communities by Shog9

A lesson in building communities by Stack Overflow's most prominent community manager emeritus, Shog9

Read more

Gleanings

hackurls - news for hackers and programmers
Claudio Santini • Mar 27, 2017

$ wget -O - hackurls.com/ascii | less

Read more…