You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+16-5Lines changed: 16 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,19 @@
1
-
- 👋 Retired after 25 years as profesional software author and developer in C++
2
-
- 👀 I’m interested in making C++ nicer to use.
3
-
- 🌱 I’m currently learning whatever lands in front of me.
4
-
- 💞️ I’m looking to collaborate on making life more rewarding for those who still have to code for a living.
5
-
- 📫 How to reach me. I haven't decided yet.
1
+
# Library utilities, methodologies and guidelines to make C++ nice to work with.
2
+
3
+
Some thoughts:
4
+
5
+
+ Safe is nice. That doesn't have to be the bullet proof provable safety of Rust. A more humble aim that with reasonable care safety hazards can easily be avoided would be a big improvement on the status quo. So hazards of pointer, memory or data corruption should be well controlled and easy to avoid.
6
+
+ Identifiers should be named so that someone uninitiated has a good chance of guessing what they mean.
7
+
+ What you think in one sentence, you should be able to write in one line and it should look like what you thought. If you read it out load it should sound like a description of what your code does.
8
+
+ Coding should not be laborious. You should not have to code much more than what you are thinking.
9
+
+ Learning curves should be short and provide early rewards.
10
+
11
+
Library utilities:
12
+
13
+
+ ptr_to_unique - A smart pointer to an object already owned by a unique_ptr. It doesn't own the object but it self zeroes when the object is deleted so that it can never dangle.
14
+
+ numerical conversions - A set of dedicated numerical conversions that are a better choice than the canonical application static_cast.
15
+
+ literal integral constants - Converts literal constants into std::integral_constant using a double underscore suffix, e.g. 4__
16
+
6
17
7
18
<!---
8
19
inglesflamenco/inglesflamenco is a ✨ special ✨ repository because its `README.md` (this file) appears on your GitHub profile.
0 commit comments