Author Joel Spolsky is a great thinker on how to write good code.
As a C++ programmer I do feel I have to take issue with his arguments against C++ exceptions. You can regard the C++ Exception as a “goto” with an unknown destination. This does sound like a recipe for a “bad smell” in your code. But C++ Exceptions are designed for handling errors that occur in a self contained part of code that can’t know what the correct way (because it depends on the time of usage) to behave when the error is encountered. By passing back an exception it allows the calling code to decide how to handle the error condition. This is an invaluable tool when used correctly. C++ Exceptions are great for solving this design challenge. But please don’t use them for anything else. Any other use immediately drifts into the problem area discussed by Joel Spolsky in his document.
If you try to open this page you get automatically re-directed to https://blogs.embarcadero.com/ which is an Embarcadero authored page of useful postings with no opportunity for users to ask questions for other users to answer (in other words it is not a forum).
So where should Embarcadero C++ users go to ask questions?
Embarcadero’s answer seems to be “Stackoverflow”
As an MVP we were warned that this change may happen. I strongly discouraged Embarcadero from going in this direction, indicating that they would lose a channel that provides good feedback for them as to how well their products are performing and also provides a chance for them to demonstrate their level of technical support.
Strange: I don’t mention open source very often and now we have two blogs in a row about Embarcadero making items open source. Delphi Bold was a Delphi experiment with the Model Driven Architecture approach to programming.
Embarcadero discontinued the development of this a long time ago, but have now decided to allow access to the source code for the open source community. It will be interesting to see if anyone picks this up and runs with it! More information at the following link
As well as very recently releasing RAD Studio 10.4.1 (see previous post) Embarcadero have launched their #DesktopFirst summit.
Embarcadero are very wise to be promoting desktop design in this way. It’s a subject that is still of vital importance and has lost a bit of public (and developer’s !) focus recently.
I’m pleased to say that I will be making a short presentation as part of this event. With the title “Right Click is Right !” I will be suggesting that the orginal Windows approach to applications design (do you remember Windows 95? or earlier?) has a lot going for it.
Click here to join the summit. It will be a fascinating experience !
I’ve just read this excellent summary of the history of Windows software development techniques and why Delphi is still a sensible option for a new project. David I knows is subject matter well and puts a convincing case. Do have a read: