MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wbmurt/csharpdictionariesbelikethat/p8zpuxw/
r/ProgrammerHumor • u/KTVX94 • Sep 09 '26
61 comments sorted by
View all comments
1
this is why i like Rust. Adding inserts into the dictionary, and returns an Option of the previous value.
1 u/Arcanium_Walker Sep 10 '26 TryAdd entering to the chat 1 u/dkarlovi Sep 10 '26 Add or add not.
TryAdd entering to the chat
1 u/dkarlovi Sep 10 '26 Add or add not.
Add or add not.
View all comments
1
u/RRumpleTeazzer Sep 10 '26
this is why i like Rust. Adding inserts into the dictionary, and returns an Option of the previous value.