Last active
October 5, 2025 18:39
-
-
Save mcsee/0bd165efd528becd130a142cca8f7c2b to your computer and use it in GitHub Desktop.
This gist belongs to Clean Code Cookbook http://cleancodecookbook.com By Maximiliano Contieri http://maximilianocontieri.com
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function findHolidays( | |
| maxPrice: Currency, | |
| startDate: Date, | |
| endDate: Date, | |
| minPrice: Currency) { | |
| // Notice that maxPrice and minPrice are swapped by mistake | |
| // Also, dates are mixed | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment