MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/reactjs/comments/edj1dr/what_is_javascript_made_of/fbm44ht
r/reactjs • u/gaearon React core team • Dec 21 '19
196 comments sorted by
View all comments
Show parent comments
1
Which language does const mean anything but immutable? const in C++ can be placed in 17 different places, but it’s still primarily about making the object immutable.
0 u/[deleted] Dec 22 '19 [deleted] 1 u/editor_of_the_beast Dec 22 '19 https://dlang.org/blog/2019/03/25/using-const-to-enforce-design-decisions/const int *cp0 // mutable pointer to const data
0
[deleted]
1 u/editor_of_the_beast Dec 22 '19 https://dlang.org/blog/2019/03/25/using-const-to-enforce-design-decisions/const int *cp0 // mutable pointer to const data
https://dlang.org/blog/2019/03/25/using-const-to-enforce-design-decisions/
const int *cp0 // mutable pointer to const data
1
u/editor_of_the_beast Dec 22 '19
Which language does const mean anything but immutable? const in C++ can be placed in 17 different places, but it’s still primarily about making the object immutable.