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 Trends
- 1. Godzilla 24.2K posts
- 2. Lamine 61.4K posts
- 3. Barca 97.6K posts
- 4. Brujas 24K posts
- 5. Trench 7,353 posts
- 6. Barcelona 147K posts
- 7. Brugge 45.4K posts
- 8. $DUOL 2,328 posts
- 9. Shabbat 2,322 posts
- 10. Foden 20.2K posts
- 11. Richardson 3,388 posts
- 12. Flick 36.3K posts
- 13. Frey 26.7K posts
- 14. Jared Golden 1,777 posts
- 15. Anthony Taylor 1,695 posts
- 16. Balde 12.6K posts
- 17. Lina Khan 6,910 posts
- 18. Minneapolis 59.5K posts
- 19. Captain Kangaroo N/A
- 20. Fermin 11.5K posts
Something went wrong.
Something went wrong.