c++ - Can OOP be used in Embedded C? -


i'm new software development , loving it. currently, work involves c++ programming in oop implementation (basically, guys started framework software used oop approach in everything). jumped in , inherited what's there.

hobby-wise, develop framework embedded application. programming embedded c on microcontroller. wise framework in oop approach also? thinking more organized.

thanks in advance answers!

i depends on microcontroller specifications (and how many resources have).

in experience (as olaf says it's subjective opinion):

  • oop approach clearer, avoids mistakes common variables , allows other person use framework without painful learning process.

  • however... require more resources need encapsulate , leads more functions.

so... depends...


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

jquery - javascript onscroll fade same class but with different div -