🔥 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 트렌드
- 1. #DWTS 41.1K posts
- 2. Giannis 15.8K posts
- 3. Whitney 13K posts
- 4. Brunson 5,998 posts
- 5. Elaine 43K posts
- 6. Sixers 20.9K posts
- 7. #RHOSLC 5,386 posts
- 8. Alix 5,601 posts
- 9. Andy 65.5K posts
- 10. #WWENXT 16K posts
- 11. Ryan Rollins 1,437 posts
- 12. Kuzma 1,134 posts
- 13. Markstrom N/A
- 14. Don Lemon 8,890 posts
- 15. Bucks 24.5K posts
- 16. Flyers 8,820 posts
- 17. CJ McCollum N/A
- 18. Josh Hart 1,239 posts
- 19. Caden 6,126 posts
- 20. Sabonis 1,823 posts
Loading...
Something went wrong.
Something went wrong.