On Mon, Jan 14, 2013 at 8:41 PM, Bill Traynor <[email protected]> wrote:
> Sorry to jump in late here, but OpenOCD is already written in C.  Why would
> we rewrite in C++?  I can appreciate that the refactoring Tomek is proposing
> is a large effort, but what benefit does doing it in C++ provide?

Well in fact after over year I got used to current C code, but the
problem with that is the code readability, program flow, names, etc.
Using C++ would give us objects and methods, that would dramatically
increase readability, program flow and extensibility... understanding
the code, clear organization and distinction of functionalities is a
benefit here...

Maybe doing some experiment like oOpenOCD (Objective OpenOCD) can
simply show us if its worth trying..? I can try that and few months
will show up if it was a right decission, if yes we can merge back the
code into original OpenOCD :-)

Best regards :-)
Tomek

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to