Comments (2)
Thank you for your consideration. I have applied your suggestions.
from cpplinks.
Thanks. I prefer to keep focus on the standard references or resources I've checked myself.
While looking at the suggested link I've found a few issues I'd recommend fixing:
- "Do I need to check for null before delete p?" No, https://isocpp.org/wiki/faq/freestore-mgmt#delete-handles-null
- [Nit] Instead of
int* p = new(int);
the standard syntax isint* p = new int;
.
Assertions are very useful although I wouldn't describe these as a "tool for statement or unit testing" (can be used to support unit testing, however).
I can recommend the following:
- Use of Assertions: https://blog.regehr.org/archives/1091
- Assertions Are Pessimistic, Assumptions Are Optimistic: https://blog.regehr.org/archives/1096
- Logging, asserts and unit tests: http://tomforsyth1000.github.io/blog.wiki.html#%5B%5BLogging%2C%20asserts%20and%20unit%20tests%5D%5D
I also prefer to minimize any potential overlap to avoid redundancy--as far I can tell the topics are already extensively covered by the examples on https://en.cppreference.com/ (which I recommend as a general reference).
from cpplinks.
Related Issues (11)
- xmake is missing HOT 1
- Vesta is missing HOT 1
- Cuda Udacity course link problem HOT 1
- Paper tracking link HOT 1
- dead link HOT 1
- Sorry for contacting you in that way HOT 4
- add new courses HOT 1
- FFI: improvement HOT 4
- Build2 is missing HOT 1
- Caching: more sw HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cpplinks.