Jump to content

Sherlock

Moderators
  • Content Count

    1209
  • Joined

  • Last visited

  • Days Won

    25

Everything posted by Sherlock

  1. Sherlock

    Why upgrade?

    I personally know of two companies in my field of work (medical software), that have killed themselves over the "simple" task of moving from "some old outdated" language to C#. Both companies have enjoyed the questionable pleasure of being tutored by MS consultants. What everybody involved forgot, is the amount of customizing that went into the software for some special really needy customers - customizing, that went unnoticed or at least undocumented. So a bunch of features, and I mean a really big bunch, did not end up in the painfully created C# versions of their software, and the customers simply left. Because it got more expensive as well. And then from the customers POV it's just simple math: less features + more cost = bye bye. Now both of those companies have been bought for a penny and a dime by the one I was in at the time. And constant rumors of the need to move to C# with our divisions software kept rolling around...but never became true (someone at the top must have learned something). New projects where done in other languages, but that is totally OK.
  2. Now please don't do that! I would say, that is a bit of an overreaction.
  3. This is not the final name for the thread, it's just all I came up with in my ignorance. I am open for improvements.
  4. So, if anyone would like to contribute something to this topic, stay here, you're good. If you have something to say about umm... Hashing Dictionaries and such, this is not the place to be While you weren't looking it got split to here:
  5. OK, I'll try to fork it then. Lemme see now, where did I put my magic wand?
  6. So I wanted to set the layout to the way I'm used to from Tokyo and got everything right and stored it into the "Standard-Layout" via the Moon Symbol in the title bar (strange, but as long as it works...). After restarting Delphi, it gets almost everything right, except for one thing: the side panels are way to narrow. No matter how wide I store them, they end up being the seem narrowness. And the object inspector wont store the separator position (the line between property and value) either. What am I missing, where and how can I fix this?
  7. Soooo, I know I am not free of guilt either , but nevertheless, how about a nice swerve back to the topic please? And as a reminder, the topic is "As a Delphi expert, do you ever need to refactor or improve your code?" If there is an interest to further the discussion on dictionaries, I am happy to break the forum by trying to fork that discussion
  8. I believe Stefans words to be a fitting final statement on the subject of comments and suggest veering back to the subject at hand...namely refactoring 😉
  9. Of course comments explaining every line of code are all in all useless. I'm talking about comments informing the uninformed reader what the heck is going on, and why a problem is solved this way and not another (hence preventing aforementioned refactoring odysseys). Most times those comments form the core of my technical file and only need a little fleshing out and graphs to be acceptable for auditors.
  10. Well, clearly I'm not there yet, and neither is any of the folks whose code I've had the chance to read.
  11. That's what comments are for. I don't see wisdom or a particularly high level of expertise in the words "Good code needs no comments, it is self explanatory".
  12. Sherlock

    VERY SMALL IDE font sizes

    @PeterPanettone: Though you try to put humor in your writing, I recommend one of two things: Take a deep breath before you begin to write a reply, imagine what others may read in that reply, how they might feel, if you would want to be addressed that way and most importantly, if it will have any positive impact on solving your issue Read your posts after writing them, then take a deep breath, delete all and rewrite according to option 1 Please don't get personal. No good will come of it.
  13. Sherlock

    With haters unite

    I see issue 21814...I see no with. Both eyes open...Brain perhaps not at 100% though.
  14. @Mike Torrettinni I hope you did not feel triggered by me. I am really interested in your use case. I have users, that simply don't care about IT, they are forced into using my software (healthcare professionals especially midwifes sometimes seem to have chosen their job, because they hoped to never use a computer). So I have to keep the error messages to a minimum, in very rare cases resulting in a painful process of almost restarting the complete application - unbeknownst to the user. Just so they don't find a reason to stop using the software, and believe me, they are looking for one all the time
  15. I get it, I really do, but how do your customers catch incorrect results? And how do they know they are not getting incorrect results all of the time?
  16. Well, not showing exceptions and eliminating exception handling altogether are two different pairs of shoes, are they not? Why not log into some %APPDATA% folder every bug, that occurs and try to keep the application running. When a bug does manage to get reported ask someone to send you the (doubtlessly numerous) log files. Apple for example highly discourages to display error messages in their iOS human interface guidelines. BUT they do encourage logging, and offer means to retrieve those logs from devices.
  17. If you expect your customers to double check your results, why should they use your software in the first place?
  18. Since nothing is as volatile as a web thing, consider keeping that in a text file and load it once your application has started. This gives you the added benefit of being able to change this HTML-File without the need for an update.
  19. Sherlock

    Scheduled tasks at system time

    Ohhh, OK. Thanks. I thought I had been sidestepping an extremely powerful library here.
  20. Sherlock

    Scheduled tasks at system time

    Is all that part of the OTL? Then I definitely have to look into that.
  21. Sherlock

    Only default ICS sample SSL certificate is working

    Please, don't remove "old examples" validate your code against them and update the examples if needed. For me it is very hard to use anything without a near complete set of examples.
  22. I too am a Consolas guy.
  23. Sherlock

    In-App Clipboard

    Fellas, please. If Attila thinks he gave enough information, you have two options: Either write an answer based on that, or don't write at all. This should please not escalate.
  24. Sherlock

    Squint and read: CreateFormFromStings

    I get that, really I do, but my brain hurts...
  25. Sherlock

    WinInet coding for Windows XP

    According to the msdn, this is the meaning of the error number: This of course could mean, that your XP can't communicate with the https server you are trying to contact...or anything else that might go wrong with a severely outdated system trying to communicate within a network.
×