🔥 Have a function that gets used in about 100 places that you need to behave slightly differently for some new code? Add an optional flag.
15
35
87
0
0
I like the simplicity of the opening `echo`. So many would have gone for the overly complex `sprintf` when all you actually need is a string
1
0
2
0
0
Yeah I really believe in YAGNI. If we ever need to customize it it's easy to add another flag.
0
0
2
0
0
United States Tendances
- 1. Jayden Daniels 21.9K posts
- 2. Dan Quinn 6,614 posts
- 3. Seahawks 36.4K posts
- 4. Sam Darnold 14.6K posts
- 5. Commanders 48.7K posts
- 6. Jake LaRavia 4,243 posts
- 7. #RaiseHail 8,606 posts
- 8. jungkook 580K posts
- 9. Bronny 13.2K posts
- 10. Marcus Smart 3,081 posts
- 11. Joe Whitt 2,215 posts
- 12. #RHOP 6,570 posts
- 13. #BaddiesAfricaReunion 5,529 posts
- 14. Jovic 1,047 posts
- 15. Jaxson Hayes 2,899 posts
- 16. 60 Minutes 67.2K posts
- 17. Ware 4,978 posts
- 18. Larson 20.2K posts
- 19. Lattimore 2,503 posts
- 20. Chiefs 73.8K posts
Loading...
Something went wrong.
Something went wrong.