Fe₂🦀₃⋅H₂🦀 on Nostr: d I have previously approved C people for C++ projects when they had no real C++ ...
d (npub15fk…j9gr) I have previously approved C people for C++ projects when they had no real C++ experience. The hardest part of C++ by far is the C part of it. Namely how to safely handle memory. Everything else is a piece of cake to train people in.
My advice to "upgrade" to C++ expertise would be:
- lean the underlying mechanics of STL containers, especially vector and when it's safe to take pointers to elements. This is important because nobody uses raw arrays in C++. They instead use vectors and take pointers to their elements when needed.
- learn shared_ptr and unique_ptr to manage lifetimes.
- learn lambda syntax
The rest is mostly compiler autism that you don't need to know initially (or ever in many cases).
Published at
2023-11-07 01:16:56Event JSON
{
"id": "54286d5789acc068b26e0db88203e8a0b10da044e3210b59be503152285399aa",
"pubkey": "26976d1f3f3270311c86a59315751d66bd770aa35a929529271fca721afee1af",
"created_at": 1699319816,
"kind": 1,
"tags": [
[
"p",
"a26d9180040977fbfa673374da58b057b2be33bd1b2615301969e2d7171a7c42",
"wss://relay.mostr.pub"
],
[
"e",
"98d9c944c8c7ca57c7de6358ff9d9624781beba41c49ad6c3844478adfe3a4f7",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://clubcyberia.co/objects/16eb79f3-b98c-4b1e-b153-3351d4ed8eac",
"activitypub"
]
],
"content": "nostr:npub15fkerqqyp9mlh7n8xd6d5k9s27etuvaarvnp2vqed83dw9c603pqs5j9gr I have previously approved C people for C++ projects when they had no real C++ experience. The hardest part of C++ by far is the C part of it. Namely how to safely handle memory. Everything else is a piece of cake to train people in.\n\n My advice to \"upgrade\" to C++ expertise would be:\n- lean the underlying mechanics of STL containers, especially vector and when it's safe to take pointers to elements. This is important because nobody uses raw arrays in C++. They instead use vectors and take pointers to their elements when needed.\n- learn shared_ptr and unique_ptr to manage lifetimes.\n- learn lambda syntax \nThe rest is mostly compiler autism that you don't need to know initially (or ever in many cases).",
"sig": "98b6b5aa717fb392ac3304dfc3c4cfcb314bf416426c3551959e71300fb587882a0521ed4142bc82b4c0435788792eefe4dc2bd2245b7cb00c7a21ec8e0bd79c"
}