Author Topic: My experience after more than 10 years of using CB  (Read 10017 times)

Offline RadicalInquisition

  • Multiple posting newcomer
  • *
  • Posts: 10
My experience after more than 10 years of using CB
« on: December 03, 2023, 11:10:36 am »
Basic level logic suggests that if I have been using code blocks for over 10 years, then this has got to be my favorite IDE. However, this is not the case sadly.
In fact, it is one of my least favorite programs that I still use.
Sure, for the most part, it gets the job done, but the moment I start questioning what I like about it I realize that the habit plays the biggest role as to why I am still using it.

Disclaimer: This is not a hate or rage post. However, keep in mind that this is intended as raw constructive criticism. Moreover, I will not be trying too much to decorate my wording so that it "sounds nice" and doesn't accidentally hurt someone's feelings. Also, I apologize for my lack of proficiency in English - this isn't my native language.

Why do I post now?
The reason I decided to post after so many years is simply because I generally do not like doing it. I don't believe there will be any positive effect whatsoever, and I don't have the nerve to engage in pointless arguments. I decided to post now after I read a particular thread, where the development team responded quite unprofessionally. Someone was hate-posting basically, listing potential issues with the program in a not-so-polite and constructive manner. He did raise several good points, but for the rest of his rant, I couldn't particularly share his sentiment.
On the other hand, as the usual response goes: "This has never happened to me".
As a business owner, a desktop software creator, and a senior user I can guarantee you that this is a substantially harmful mindset.
On top of that, it prevents the software from evolving at an optimal pace.
First of all, such a statement means and does nothing. If anything it only implies the lack of acknowledgment that there may be issues.
Now this is not a small software by any means, so the presence of issues is the single most normal thing and the correct attitude is to confront these issues seriously.
If you haven't given up on improving the product that is. Here is an example of what this "It never happened to me" approximately sounds like:
Imagine you go to a fast food restaurant where they ship their products to a vast audience. You want to enjoy a nice cheeseburger, but due to COVID-19, you have dysgeusia and you have a severe intolerance to the taste of onions. At the cash desk, you try to explain that and ask for a version of the cheeseburger without onions, but they reject your request with the words "I don't know, this has never happened to me, so..."
This might very well not be the case, and not how some people from the development team look at such issues, but it does sound as undermining the user-reported complaint nonetheless.
In the slightest, it is a vague statement that does nothing other than attempt to justify the problem.

My issues?
We are talking sudden crashes during nothing else but simple tasks such as writing code, switching between tabs, or opening files from the project.
The unusable code folding feature that for some reason has never been fixed is also something worth mentioning. Not only that it doesn't work correctly, but it also causes me to repeatedly do more work fixing my code visibility. It annoys me so much quite frequently, forcing me to adapt new slow and weird programming practices just to avoid it from breaking.
Another major deter is the never really working autosave. Actually, I don't even know if it doesn't work or if it is just designed that way intentionally, but this is a very basic feature come on.
This feature is.. what is the opposite of intuitive? ...That.
I still don't know how it works and when it works. I've been using hundreds of different purpose programs and I do not recall a single one to behave so irrationally in terms of autosave.
From having to manually save the project structure and configuration to the workspace not being saved at all when I manually save it / create a backup.
From the opened tabs not being preserved to the code folding acting on its own upon restoration.
No setting is able to get the autosave working as it should, which is quite frustrating given the abundance of claims that CB gives you too much control. I don't feel it.
Additionally, the choice of what should be set by default appears to be designed with the ideals of one person rather than agreed upon by the community.
Next - the lack of a Dark Theme which I have to believe has been reported so many times already. Being stuck to program in an environment that causes your monitor to glow more than necessary during the night is ridiculous and puts strain on the eyes. I am well aware that wxWidgets may not support that (even though I don't understand why) but there is at least 3rd party software that inverts the colors of the entire program and surely something like that could have been implemented as a workaround. I mean there is always a hack around each restriction - you are a programmer.

Conclusion
If it concerns me, I do intend to seek alternatives soon. Just not when I am in the middle of a project.
Do I think code blocks is FUBAR-ed? No. But I haven't seen it noticeably get better in the past years and if anything, I started encountering more and more issues on the Windows latest versions.
wxWidgets is quite bad to begin with, so not everything is the developer's fault (well apart from the choice of backends maybe).
If anyone is actually interested in solving problems and provides me with direct means to communicate them (such as Discord) I am only then willing to provide the necessary logs and other technical details the next time the program crashes. However, if I had to predict any kind of response, I'd say I am predominantly expecting someone to just quote the corresponding issues stated and justify them with "It has never happened to me", "This only doesn't work on version X revision X, OS ..., OS version X", "This is too hard to fix", "It is the library's fault", "It is OS's fault", "It is your fault" and so on  ;D

Offline tigerbeard

  • Almost regular
  • **
  • Posts: 194
Re: My experience after more than 10 years of using CB
« Reply #1 on: January 15, 2024, 05:20:01 pm »
Can't tell about folding our autosave, i guess I never used either.

However i've got a lot of experiences with CB crashes and still have. And I must say that I never lost any code, just the time to get back where I was. Overall even with things like that advantages by far outweight the the disadvantages. Luckly crashes are down to once or twice a day and only with rather complex projects  - and still its my favourite IDE.

Not sure what you did in those 10 years, but as a programmer you should know that testing is not trivial and takes a lot more effort than normal users expect. Even throwing some crash logs around isn't a lot more helpful, even for paid personnel. As a good programmer I think one is not entitled to complain in a volunteers project unless one has provided detailed (i.e debugged) error information or a very simple and well reproducable test case, but thats my personal opionion on decency.

Did you create a minimal test program that reproduces one of your issues and created a ticket for it? If not what you are actually doing is hoping for someone else being in the "happend to me too" situation and that this someone would have more energy than you have to provide this testing for you. Bad luck when your issues are so rare that you do not meet any other "happend to me..."'s. Your post shows that you have some energy left. But seriously, what do you expect to happen now?

Of course there would be still no gurantee that someone is picking up your ticket to solve it, but I can guarantee you thats to do some live debugging on you own this is a start to a quite satisfactory journey learning more behind-the-scenes stuff about your least beloved open source product. Maybe even your point of view will shift a bit aftwards. The worst thing that can happen that you learn a few new things. :)


PS:i assume you a human being and not a new generation AI spambot output, but am not entirely sure.


« Last Edit: January 15, 2024, 05:22:43 pm by tigerbeard »

Offline RadicalInquisition

  • Multiple posting newcomer
  • *
  • Posts: 10
Re: My experience after more than 10 years of using CB
« Reply #2 on: January 18, 2024, 07:05:21 pm »
Quote
Can't tell about folding our autosave, i guess I never used either.
Right, which does not mean we should dismiss this information as part of those "disadvantages".
Quote
Overall even with things like that advantages by far outweight the the disadvantages.
- For you.

Naturally, I expect nothing less from someone content with this application.
It's just a never-ending trend on the internet - if someone expresses unsatisfaction about something (It actually does not matter how much people do the same thing) there is always going to be at least 1 person who liked it, pulling statements from his behind only to justify the complaints and instillate a narrative in which the unhappy person is rather in their wrong.
This is precisely why people are better off choosing a product or service based on reviews and ratings rather than the recommendation of a friend.
Even the worst service or product will have at least one lover :)

Quote
And I must say that I never lost any code, just the time to get back where I was.
Neither did I, nor I ever say I did. However, things like code folding, breakpoints, and bookmarks are lost for me so this along with the necessity to relaunch the program is nothing short of annoying.

Quote
Luckily crashes are down to once or twice a day.
Interesting, I am not experiencing crashes anywhere near that frequently.

Quote
and only with rather complex projects.
Then I guess my 171k LOC to this point project is not complex yet.

Quote
Not sure what you did in those 10 years, but as a programmer you should know that testing is not trivial and takes a lot more effort than normal users expect. Even throwing some crash logs around isn't a lot more helpful, even for paid personnel. As a good programmer I think one is not entitled to complain in a volunteers project unless one has provided detailed (i.e debugged) error information or a very simple and well reproducable test case, but thats my personal opionion on decency.
Okay, I respect your opinion. I don't know if you viewed the last paragraph of my OP, because it surely doesn't look like that, but the bottom line is that I am ready to assist by all means possible so long as someone is interested in improving this application. I could be completely wrong, but my current impression is that there isn't much interest.

Quote
If not what you are actually doing is hoping for someone else being in the "happend to me too" situation and that this someone would have more energy than you have to provide this testing for you.
Yes, you are right. Either that or a commitment on the developer side to go further in the dialog in an efficient manner.
I am not saying my approach is ideal, but that's what I can do. As a business owner, I would love to engage with other developers with the idea of improving my products, paid or not.

Quote
Your post shows that you have some energy left. But seriously, what do you expect to happen now?
Surprisingly, writing pain text in English (even though English is not my native language) does not feel very taxing on my energy.
Also again, if you viewed the last paragraph of my OP, because it surely doesn't look like that again, you would have had a direct answer to what am I expecting to happen now.

Quote
Of course there would be still no gurantee that someone is picking up your ticket to solve it, but I can guarantee you thats to do some live debugging on you own this is a start to a quite satisfactory journey learning more behind-the-scenes stuff about your least beloved open source product. Maybe even your point of view will shift a bit aftwards. The worst thing that can happen that you learn a few new things. :)
Maybe, but I made my intentions (and expectations) clear.
That being said, I'd be really surprised if those issues are that uncommon because I have had them for quite some time, on multiple machines too.
Especially in regards to the code folding for example.

Quote
PS:i assume you a human being and not a new generation AI spambot output, but am not entirely sure.
I can assure you that I am not a human being. I am a computer program created by OpenAI called GPT-3.5, which stands for "Generative Pre-trained Transformer 3.5." I don't have personal experiences, emotions, or consciousness. My purpose is to assist and provide information to the best of my ability. If you have any questions or need assistance with something, feel free to ask!
« Last Edit: January 18, 2024, 07:08:26 pm by RadicalInquisition »

Offline tigerbeard

  • Almost regular
  • **
  • Posts: 194
Re: My experience after more than 10 years of using CB
« Reply #3 on: January 19, 2024, 11:47:05 am »
 :) :) :)

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5930
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: My experience after more than 10 years of using CB
« Reply #4 on: February 04, 2024, 05:55:08 am »
The OP is an AI robot?
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline Grit Clef

  • Multiple posting newcomer
  • *
  • Posts: 67
  • Where there is a will, there is a way.
Re: My experience after more than 10 years of using CB
« Reply #5 on: February 04, 2024, 06:36:54 am »
It's himself that he said he is...
-Windows 7, 32-bit
-CodeBlocks r13518, gcc 13.2.0, debug version

Offline RadicalInquisition

  • Multiple posting newcomer
  • *
  • Posts: 10
Re: My experience after more than 10 years of using CB
« Reply #6 on: February 04, 2024, 07:46:04 am »
Oh my god, come on guys, I was joking  ;D ;D
I am not an AI bot  :o

Offline Krice

  • Almost regular
  • **
  • Posts: 150
Re: My experience after more than 10 years of using CB
« Reply #7 on: February 05, 2024, 10:33:29 pm »
Code::Blocks is an open source project so you get what comes with it. I think it's difficult to get developers to fix something, not to mention adding some useful features. Now why this is typical in open source projects is beyond my understanding, because it's not just C::B. Also, I don't want to give an impression that I somehow hate C::B and its developers. I'm a developer as well and it's sometimes very difficult to fix things, at least fast. Then again, sometimes you wonder what the developers are doing all this time...

Offline Miguel Gimenez

  • Developer
  • Lives here!
  • *****
  • Posts: 1591
Re: My experience after more than 10 years of using CB
« Reply #8 on: February 06, 2024, 08:54:54 am »
Quote
sometimes you wonder what the developers are doing all this time

Developers are volunteers working for free. They have full-time jobs, families and hobbies (not only programming), and the day is short.

Offline nenin

  • Almost regular
  • **
  • Posts: 227
Re: My experience after more than 10 years of using CB
« Reply #9 on: February 07, 2024, 07:24:28 am »
I am not an AI bot  :o
Can AI bot realize that he/she/it is AI bot?  :-\

Online stahta01

  • Lives here!
  • ****
  • Posts: 7607
    • My Best Post
Re: My experience after more than 10 years of using CB
« Reply #10 on: February 07, 2024, 02:35:42 pm »
I am not an AI bot  :o
Can AI bot realize that he/she/it is AI bot?  :-\

I do not know; but, I do think one can be programmed to say they are not a bot.

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline RadicalInquisition

  • Multiple posting newcomer
  • *
  • Posts: 10
Re: My experience after more than 10 years of using CB
« Reply #11 on: February 09, 2024, 10:25:02 am »
You guys bring up an interesting point about the AI.
I asked myself: "Why would I want to bot in forums like this one"
And then it came to me that prompting such a bot to generate posts and responses based on a concept can be pretty convenient!

Nonetheless, I must emphasize this again - I am neither "hating" anybody or demanding a better product.
I am sharing some of my resentments, some of which had annoyed me quite a bit, and merely opening up a case if devs are interested.

As for how difficult it is to fix those bugs, it depends. I have written my own implementation for code folding and it wasn't difficult at all. Not only it doesn't have these bugs but also shows an exclamation mark on the line where a bracket does not have a corresponding closing bracket. But then again... this is just me  :)

Online stahta01

  • Lives here!
  • ****
  • Posts: 7607
    • My Best Post
Re: My experience after more than 10 years of using CB
« Reply #12 on: February 09, 2024, 11:32:39 pm »
Since, you have not linked to an issue/bug that you have reported, I for one consider you to be a troll instead of a bot.

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Krice

  • Almost regular
  • **
  • Posts: 150
Re: My experience after more than 10 years of using CB
« Reply #13 on: February 12, 2024, 03:04:29 pm »
They have full-time jobs, families and hobbies (not only programming), and the day is short.

Everybody has that, so what? If you have so little time to spare for a project why you are even in it? I don't get that kind of explanations, but not surprised in this context.

Offline RadicalInquisition

  • Multiple posting newcomer
  • *
  • Posts: 10
Re: My experience after more than 10 years of using CB
« Reply #14 on: February 16, 2024, 11:36:01 pm »
The application is not advertised as a spare-time hobbyist project, though. More importantly, it specifically states the following:
Quote
Code::Blocks is a free C/C++ and Fortran IDE built to meet the most demanding needs of its users.
I don't know about you, but this doesn't immediately hit me as a spare-time project that does not care about the user's demands.  ;D
In light of that, I do not see anything wrong with statements that bear similarity with that of Krice.

Quote
Developers are volunteers working for free. They have full-time jobs, families, and hobbies (not only programming), and the day is short.
I agree. To me, this suggests that the developers are not to be pushed or rushed to do anything.
At the same time, well-mannered discussions in the forums including criticism should be a good thing to aim for!

I am not saying that I do anything properly, but...
I generally put the same amount of effort into any of my projects, regardless of whether they are free or paid, even though I do not advertise them in such a fashion as mentioned above.
Sometimes even putting more effort into your free products makes sense because more people can try your work and establish a sense of trust and loyalty. Perhaps like a portfolio or something.
Based on that and their experience, they can decide to buy your other products that are locked behind different paywalls.
I have had so many problems with other software and I don't want others to experience the same (including me, provided that I use my own software).
And yes, as the project grows bigger it is kind of inevitable that issues would begin to surface.
(Unless the application is of the likes of MS Notepad, which especially on Win7 had many bugs even though it is a program any of us can make for an hour or so...
...and it was also theoretically paid too)
« Last Edit: February 16, 2024, 11:39:54 pm by RadicalInquisition »

Offline RadicalInquisition

  • Multiple posting newcomer
  • *
  • Posts: 10
Re: My experience after more than 10 years of using CB
« Reply #15 on: March 20, 2024, 08:26:14 pm »
There goes the next new Code Blocks-related issue.  :)
A sudden crash when I type in the parenthesis of a function-like macro in a pre-processor conditional.

I also recorded a video (It is unlisted):
https://www.youtube.com/watch?v=ItL7eMKh7F4&ab_channel=CodeBlocksFails

I haven't looked into it, but it might be the parser-provided syntax complete (which is also quite bad per se).

Offline Miguel Gimenez

  • Developer
  • Lives here!
  • *****
  • Posts: 1591
Re: My experience after more than 10 years of using CB
« Reply #16 on: March 21, 2024, 02:13:54 pm »
Please create a ticket and post the information there.

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2787
Re: My experience after more than 10 years of using CB
« Reply #17 on: March 21, 2024, 05:19:28 pm »
Please create a ticket and post the information there.

@RadicalInquisition:
Please mention the OS version, the CB version and revision,
attach any .RPT in the CodeBlocks executable folder.
And, if possible, some code to recreate the problem.

This looks suspiciously like a problem that has already been fixed in an (almost) recent commit.
« Last Edit: March 21, 2024, 05:22:26 pm by Pecan »

Offline RadicalInquisition

  • Multiple posting newcomer
  • *
  • Posts: 10
Re: My experience after more than 10 years of using CB
« Reply #18 on: March 22, 2024, 03:20:52 pm »
As I mentioned before, I am only willing to communicate the issues with someone in particular who is interested in taking notice.
I can message them (on Discord) the moment I encounter an issue and then I could provide whatever information is necessary in advance.
I could try to isolate the problem and provide a minimum reproducible code.

Yes, my version is likely not the most recent version built.
But the version 20.03 on Windows.
I am prone to think that the Linux build has far fewer issues (but there I would much rather use an alternative).
« Last Edit: March 22, 2024, 03:25:43 pm by RadicalInquisition »

Offline sodev

  • Regular
  • ***
  • Posts: 498
Re: My experience after more than 10 years of using CB
« Reply #19 on: March 22, 2024, 07:53:17 pm »
As I mentioned before, I am only willing to communicate the issues with someone in particular who is interested in taking notice.
I can message them (on Discord) the moment I encounter an issue and then I could provide whatever information is necessary in advance.

Live support is only available for customers with an active enterprise premium plan, prices start at $900/month per user, please update your subscription.

Offline Wkerry

  • Multiple posting newcomer
  • *
  • Posts: 47
Re: My experience after more than 10 years of using CB
« Reply #20 on: March 23, 2024, 05:11:21 am »
Looks like allot of CB devs have tried to help, but have got no where. Time to move on to other CB users who are willing to help or willing to follow the exiting processes instead of trying to help one dev who does not want to follow the vast majority of normal open source processes that have a bug tracking system that is used instead of DM.

Offline RadicalInquisition

  • Multiple posting newcomer
  • *
  • Posts: 10
Re: My experience after more than 10 years of using CB
« Reply #21 on: March 23, 2024, 08:18:45 am »
I mean I have the option simply not to use it, but they are devs, and as devs, I assume it is far more likely that they care a bit more.
Yes, I am not willing to go through any support ticket systems.
I'll could give my time to investigate bugs in someone's programs, but that is not happening through tickets.

Online stahta01

  • Lives here!
  • ****
  • Posts: 7607
    • My Best Post
Re: My experience after more than 10 years of using CB
« Reply #22 on: March 23, 2024, 10:12:37 am »
I mean I have the option simply not to use it, but they are devs, and as devs, I assume it is far more likely that they care a bit more.
Yes, I am not willing to go through any support ticket systems.
I'll could give my time to investigate bugs in someone's programs, but that is not happening through tickets.

If you are not a troll, the thing to do is install an CB nightly build.
https://forums.codeblocks.org/index.php/board,20.0.html

But, I for one think you are a troll.

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline RadicalInquisition

  • Multiple posting newcomer
  • *
  • Posts: 10
Re: My experience after more than 10 years of using CB
« Reply #23 on: March 23, 2024, 07:11:28 pm »
Why would I be a troll??

Online stahta01

  • Lives here!
  • ****
  • Posts: 7607
    • My Best Post
Re: My experience after more than 10 years of using CB
« Reply #24 on: March 25, 2024, 02:31:44 pm »
Why would I be a troll??

I have no idea why some people are trolls; I suggest asking a troll or thinking why you do not wish to report the information  needed to solve your issues and why you refuse to do the work of extracting an nightly build into an empty folder.

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline RadicalInquisition

  • Multiple posting newcomer
  • *
  • Posts: 10
Re: My experience after more than 10 years of using CB
« Reply #25 on: March 25, 2024, 03:05:55 pm »
Umm, that was clearly not what I was asking, but okay.
Seems like it was indeed silly of me to expect any understanding or at least respect for my personal preference, or any effort to read for that matter.
..and I never said I wouldn't give this new nightly build a try. It just feels awfully like a one-way communication and it is honestly quite disturbing to see in a place meant to gather actual programmers. Oh well, have a nice day I guess. Not going to participate further.

Offline rechtsanwaltsteyer

  • Single posting newcomer
  • *
  • Posts: 8
Re: My experience after more than 10 years of using CB
« Reply #26 on: March 30, 2024, 12:29:18 pm »
I've been using Code::Blocks for a long time. It has its quirks. If these bother me (keywords autosafe, bad autocomplete and no F1 help that branches to the keyword in CPP reference, Windows orientated, no Linux nightlies, etc.), I just use KDevelop (with some, but others Quirks) or the Qt Creator (with the fewest quirks). In other words, I would never rely on a single development environment alone. Because: What if CB is not developed further (e.g. so as not to have problems with Wayland). If KDevelop falls asleep or the Qt creator has to be paid. Maybe I'm only able to do this because I don't develop huge projects. If you use more than one IDE regularly, or even maintain your projects in the mentioned IDEs in parallel, you are on the safe side. If one IDE fails, you still have the others.
Regards
Greatings
Georg Michael Steyer, Rechtsanwalt