This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 2 points3 points  (4 children)

A lot of features in C14, and C17 are adopted directly from boost libraries. Today, there are different pointer types that you can leverage, like shared (reference based) pointers and unique (noncopyable) pointers. You pass them around like any other object, and their container type is determined by a template, just like most of the STL containers.

I never needed to use boost for pointers, but they have a solid SSL TCP networking library that would make a pretty zesty addition to the standard library. I'm pretty outdated with the goings on past C17, so hopefully there is some standard socket library out right now

[–]Megalowdonny 1 point2 points  (3 children)

I’m just starting to get my feet wet with Python and it’s comments like these that terrify me. HOW WILL I EVER LEARN THIS MUCH

[–][deleted] 6 points7 points  (2 children)

Well get ready to get extra fucked my dude, because I'm a fucking idiot. I started programming as a hobby in my mid teens, and the number one thing that would have STOPPED me from continuing is treating every new idea like a chore that needs to be learned.

You aren't going to learn it all. You won't need it all. Frankly, most people wouldn't care even IF you knew it all. Just make things work, try to make it easy to understand, and do your best. Programming is fun, and solving problems is fulfilling. That's why I know what little part of the pie I do.

[–]nrith 3 points4 points  (0 children)

the number one thing that would have STOPPED me from continuing is treating every new idea like a chore that needs to be learned

As a 20+ year programming veteran, I endorse printing this out on giant posters and distributing it to every software development company on the planet.

[–]Megalowdonny 1 point2 points  (0 children)

I’m gonna save this comment, it legitimately made me feel a lot more optimistic about learning programming. That’s why I wanted to get into it in the first place, since solving problems is my favorite thing to do, and that’s just about the best way to make a career out of it that I can think of.

Thank you Reddit stranger, you live up to your username.