Jump to content

Lars Fosdal

Administrators
  • Content Count

    3574
  • Joined

  • Last visited

  • Days Won

    121

Lars Fosdal last won the day on September 15

Lars Fosdal had the most liked content!

Community Reputation

1920 Excellent

Technical Information

  • Delphi-Version
    Delphi 13 Florence

Recent Profile Visitors

29210 profile views
  1. Lars Fosdal

    New Delphi features in Delphi 13

    I don't disagree, but for my use case, VS still is more expensive. That said - Right now, I'd not be happy if I was on RAD Studio Architect sub. I also think that the division between Pro and Enterprise is artificial, and not having Linux in the lower tiers is idiotic. That is where you find the tinkerers that actually would use it the most, creating most traction, and contributing most to open source. The problem is the enterprise trap - where you get more money from fewer users that typically are demanding less support. If you merge the tiers and lower the price and triple or quadruple the user mass - you will need more support people. It is not easy to set up a formula for what is more beneficial for the EMBT/Idera vs what is beneficial for us users.
  2. Lars Fosdal

    New Delphi features in Delphi 13

    @Joseph MItzen VS 2022 Enterprise starts at US$500/month for initial year, then slightly less than half of that for renewal. What prices are you comparing?
  3. Lars Fosdal

    New Delphi features in Delphi 13

    True. But I would love a formatter flexible enough to allow it to transmogrify code according to my liking. Currently, there are none, hence I have to do without.
  4. Lars Fosdal

    New Delphi features in Delphi 13

    That is indeed true.
  5. Lars Fosdal

    New Delphi features in Delphi 13

    Thanks. I just don't find it very readable - just old and established.
  6. If you have started using Delphi 13, you can now select it on your profile, under Technical information, Delphi-Version. If you haven't selected your version yet, or are using multiple - simply select the latest of the versions that you are using, or the one that you use most frequently.
  7. Lars Fosdal

    New Delphi features in Delphi 13

    I can do that. I forgot to mention that I also prefer a blank line before and after the conditional blocks, more or less the way it looks in the above example. Edit: @dummzeuch I can't enter a feature request 😢 SourceForge will not let me in if I don't accept their cookie policies - which is unacceptable. Edit 2: Hmm... maybe there is a way around. Edit 3: Done. https://sourceforge.net/p/gexperts/feature-requests/200/
  8. Lars Fosdal

    New Delphi features in Delphi 13

    I described it years back in this post. Writing Readable Code - Formatting and Comments. (it seems that the import to Wordpress didn't do the code blocks the best way... I'll see if I can fix that when I get the time. Basically, it is making things as readable as possible, and avoiding bunching code up tight together. Readbility should come first. For instance, I like a line break immediately after conditions, and identation for single statements. Examples: // if then / if then else single statements if Condition then Action; if Condition then Action else Alternative; if Condition // sometimes I use these variation - yeah I know, not 100% consistant. then Action else begin Alternative; end; if Condition then begin Action; end else Alternative; if Condition then begin Action; end else begin Alternative; end; // for / while for var x in Collection do Something(x); for var x in Collection do begin Something(x); end; while Condition do Action; while Condition do begin Action; end; The purpose is to really hi-lite the if/then/else on separate lines, using indentation for breaking the visual pattern when only using simple statements and not blocks. For conditions, I also tend to group/break those to try to improve readability, but here it is very difficult to be consistant. I'd recommend trying to write them like you write other statements - optimizing for clarity, rather than condensing code as much as possibe.
  9. Lars Fosdal

    New Delphi features in Delphi 13

    I spent nearly a decade undoing my built-in left-pinky-shift uppercase reserved word habit, imbued during the pre-syntax-coloring years 🤣 However, I won't give up my if/then/else formatting, and I haven't found a formatter able to replicate it. So, I guess I don't miss that formatter.
  10. Lars Fosdal

    New Delphi features in Delphi 13

    I thought everyone had dropped Kaspersky by now.
  11. Lars Fosdal

    New Delphi features in Delphi 13

    What you really need, really depends on each person. You obviously can't satisfy everone every time.
  12. Lars Fosdal

    New Delphi features in Delphi 13

    Let me moderate myself - I would have loved WebStencils 5-10-15 years ago, but now I work for a company that do advanced scalable web development, using the industry standards - which is not RADServer or WebStencils. WebStencils could be nice if you need a web UI for a Windows Service or similar, though.
  13. Lars Fosdal

    New Delphi features in Delphi 13

    I like the WebStencils, but I have no use for it...
  14. Lars Fosdal

    New Delphi features in Delphi 13

    The C++ guys are prolly excited. I like the new operators, the new generic constraints, PushOpt/PopOpt, NameOf, Basic version support in GetIt. There is a LOT of RTL stuff as well - but that is defintively YMMV. I still wish they would have added a generic constraint for enumerated types to enable the use of Include/Exclude/In etc.
  15. Lars Fosdal

    New Delphi features in Delphi 13

    Some useful stuff, but YMMV. https://docwiki.embarcadero.com/RADStudio/Florence/en/What's_New
×