Go lang and Constants

Someone riddle me this. I have seen alot of literature recently about how Go doesn’t support the const qualifier. That this page for example:

https://code.google.com/p/go-wiki/wiki/GoForCPPProgrammers

Near the top of the page it says and I quote:

Go does not support const or volatile qualifiers.

Yet further down the page there is a whole section devoted to the const keyword. Can anyone explain to me what is going on? Did go at one point not support const and now does? Is there something small yet significant I’m missing?

This by the way is not the only place I’ve seen conflicting information. I don’t have links at the moment but I swear this is common place. This, by the way, is why “old people” prefer printed books :)

About these ads
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s