Code Whisper
@codewhisperdev
👾 Anonymous engineer, sharing thoughts on code, tech & systems. 🚫 No face, just logic.
HTTP Headers you see more often.
💡HTTP Status Codes
.NET 9 introduces the new LINQ method CountBy. It allows for calculating the frequency of a key. This improvement looks nice. What do you think?
LINQ Tip: Use ToList() after filtering, not before. Why? 🔹 First version loads everything into memory before filtering 🔹 Second version filters at source, better for DB or large collections 🔹 Especially important when using EF Core or APIs with IQueryable #charp #dotnet
🔹 What is Queue<T>? Queue<T> is a First-In-First-Out (FIFO) collection in C#. It means the first item you add is the first one to be removed. When to use? - Task scheduling - Print jobs - Message handling - Breadth-first search (BFS) in graphs Example:
SQL Tip: Always monitor and maintain your indexes. Unused or duplicate indexes = slower writes and wasted space. Why? - Clean indexes = faster inserts/updates - Less I/O, better performance 🔍 Use this to find unused indexes in SQL Server
United States Tendências
- 1. Austin Reaves 57.7K posts
- 2. #LakeShow 3,359 posts
- 3. Trey Yesavage 39.6K posts
- 4. jungkook 560K posts
- 5. Jake LaRavia 6,993 posts
- 6. Jeremy Lin 1,039 posts
- 7. #LoveIsBlind 4,792 posts
- 8. Happy Birthday Kat N/A
- 9. jungwoo 119K posts
- 10. #Lakers 1,229 posts
- 11. Rudy 9,435 posts
- 12. Blue Jays 63.1K posts
- 13. doyoung 87.3K posts
- 14. Kacie 1,964 posts
- 15. KitKat 17.9K posts
- 16. #SellingSunset 3,997 posts
- 17. #AEWDynamite 24K posts
- 18. Pelicans 4,640 posts
- 19. Devin Booker 1,356 posts
- 20. Dodgers in 7 1,699 posts
Something went wrong.
Something went wrong.