Ví dụ đời thườngReal-life analogy
Trên Shopee bạn bật bộ lọc: 'Freeship' + 'Từ 4 sao' + 'Hà Nội' + 'Giá 100k–300k'. Mỗi bộ lọc là một mảnh độc lập, bật tắt tuỳ ý và ghép với nhau thành một câu hỏi lớn. Shopee không viết sẵn một hàm riêng cho từng tổ hợp — đó là tinh thần của Specification.On a shopping app you toggle filters: 'Free shipping' + '4 stars and up' + 'Hanoi' + 'Price 100k–300k'. Each filter is an independent piece, switched on or off and combined into one big question. The app doesn't have a hand-written function for every combination — that's the spirit of Specification.