Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 129107
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T05:44:24+00:00 2026-05-11T05:44:24+00:00

After switching from C++ to C++ w/boost, do you think your OOD skills improved?

  • 0

After switching from C++ to C++ w/boost, do you think your OOD skills improved?

Do you notice patterns in ‘Normal’ C++ code that you wouldn’t consider that you’ve switched, or do you find that it enables a more abstract design?

I guess I’m really wondering if you just use it as a tool, or if you change your entire approach to OO design to make more efficient use of objects when using boost pointers.

Edit:summary

This question was kind of strange–I was asking because I’ve run into so much C++ code that was not at all OO. I’m fairly sure (with that and my work on it before moving to a managed language) that it’s harder to think in OO in C++ than a managed language.

From looking at these posts, I’m guessing that you learn the value of OO before finding a need for a better way to manage memory, so by the time you start looking for something like Boost, you’re already using OO methodologies pretty heavily.

I was kind of expecting a bunch of answers saying that it helped them think in OO, but now that I think about it, if you aren’t using OO, boost pointers are not very helpful, and you wouldn’t see the need for them (so you wouldn’t have replied).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T05:44:25+00:00Added an answer on May 11, 2026 at 5:44 am

    In a project in C++ I was doing about six years ago, we implemented our own boost-like automatic pointer scheme. It worked pretty well, except for the various bugs in it. (Sure wish we had used boost…)

    Nonetheless, it really didn’t change how we developed code. Object oriented design, with or without managed pointers, is very similar. There’s times when you need to return objects, or times when pointers to objects are more important. The nice thing about smart pointers has only a small amount to do with how you design your application. Instead of passing a potentially dangerous memory leak around, you can pass that same data and be fairly certain that it’s not going to leak.

    In that respect, there are some things you can tend to do more with smart pointers: simplify your code. Instead of returning integers or basic structures every where, you can more freely pass complicated data structures or classes without worry. You can build more complex apps, faster, without having to worry so much. It lets you have the raw power of C and C++ when you need it (why would you be using C or C++ if you didn’t need it?) and have the ease of memory management that’s such an amazing productivity boost. If automatically managed memory wasn’t useful, it wouldn’t be in almost every other language on the planet!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

After switching from firefox testing to internet explorer testing, some elements couldn't be found
I encountered a problem after switching from server-side JavaScript to CoffeeScript in a Node.js
I am switching from C to C# after 15 years of doing C. I
Switching from Microsofts Oracle Driver to ODP.NET version 10.2.0.100. After changing the data types
I'm experiencing some different behavior after switching from ASP.NET MVC 1.0 to ASP.NET MVC
After switching from 64-bit to 32-bit platform (both of them are CentOS) I get
After switching from Delphi2007 to XE2, I'm terribly unhappy with the behaviour of some
After switching my Android NDK from android-ndk-r8b (official) to android-ndk-r7-crystax-5.beta2 (unofficial Crystax build), my
I am working on an iPhone application.In that app I am switching from one
After switching from maven 2 to maven 3 I have found out having 0%

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.