ardanlabs / gotraining

Go Training Class Material :
http://www.ArdanLabs.com
Other
11.87k stars 2.17k forks source link

Link unreachable on cpp.sh #377

Closed m-kuzmin closed 1 year ago

m-kuzmin commented 1 year ago

https://github.com/ardanlabs/gotraining/tree/master/topics/go#readability

Example Readability Issue: (https://cpp.sh/6i7d)

Sorry, /6i7d is no longer a valid url. Short URLs have been disabled due to spam. You can now create (longer) links to your code using the "Link to this code" feature. During some time, your code may still be reachable at http://th.cpp.sh/6i7d

tebeka commented 1 year ago

Found it on the wayback machine: https://web.archive.org/web/20180309183803/http://cpp.sh/6i7d

IMO we can remove this link.

ardan-bkennedy commented 1 year ago

Yea, this brings back memories. I used this C++ example to show how these different OOP constructs hide the cost of code, AND the cost can change depending on the version of C++ you were using. We should update the link