MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/node/comments/jrau9t/conditionally_call_a_function_with_optional/gbt9j97/?context=3
r/node • u/wobsoriano • Nov 10 '20
126 comments sorted by
View all comments
Show parent comments
3
Languages like C++ don't have optionals because they're low level-ish. Typescript is a superset of Javascript so if course it has to feature hull and undefined
6 u/notAnotherJSDev Nov 10 '20 Rust is also in that C++ class of languages and it also has optionals? -6 u/VolperCoding Nov 10 '20 I never programmed in Rust so idk 5 u/notAnotherJSDev Nov 10 '20 I have, it does.
6
Rust is also in that C++ class of languages and it also has optionals?
-6 u/VolperCoding Nov 10 '20 I never programmed in Rust so idk 5 u/notAnotherJSDev Nov 10 '20 I have, it does.
-6
I never programmed in Rust so idk
5 u/notAnotherJSDev Nov 10 '20 I have, it does.
5
I have, it does.
3
u/VolperCoding Nov 10 '20
Languages like C++ don't have optionals because they're low level-ish. Typescript is a superset of Javascript so if course it has to feature hull and undefined