View Single Post
  #20  
Old 11-02-2019, 05:19
elit elit is offline
Registered User
 
Join Date: Jun 2017
Location: sun
Posts: 265
Thanks: 190
Thanked 325 Times in 119 Posts
elit is on a distinguished road
Quote:
Originally Posted by Razor12911 View Post
because xtool is in a horrible state currently, a lot of months passed and I just decided to open the source recently and it didn't seem like I was the one who the WTF code it contains
I know this feeling. Coded my own "Total Commander" in Borland C++ years ago and later decided to revisit. My code is actually extremely clean and ordered(others who saw it said as well), yet I gave up as it would take too much effort/time to digest it again.

I suspect this have to do with object oriented languages once they grow in size, never had such problem with C projects and even reading others work (like before mentioned LZ4 or plzip which I forked to xnlz) was such a breeze. Yet I could never properly digest C++ code not only from others, but even my own - well organized. And I used to be really good at C++ once before(before I forgot most of that crap) including complete STL knowledge, all kind of tricks etc..

Really, just drop that crap called "delphi pascal" and try plain C instead . I am almost certain you will not regret it + you will gain speed as well and besides, most of your tools are command line without GUI anyway .
Reply With Quote