Programming languages tend to conflate three questions that ought to be answered separately: - What are the values? - How do types characterize sets of potential values? - How are values of a type encoded in memory?
-
-
Replying to @TimSweeneyEpic
Stroustroup's "A Tour of C++" describes the distinction between these beautifully. Would you say that C++ does a good job of keeping them as separate concepts?
1 reply 0 retweets 0 likes
Replying to @duganchen
C++ only knows values and representations. Everything else is left to the user and libraries to sort out by implementing operator==, conversions, and other things. It’s reasonable for a low-level language but is quite error-prone.
10:19 PM - 28 Nov 2017
0 replies
0 retweets
4 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.