Jump to content

Uwe Raabe

Members
  • Content Count

    2542
  • Joined

  • Last visited

  • Days Won

    147

Posts posted by Uwe Raabe


  1. 18 minutes ago, Fr0sT.Brutal said:

    I'm not using either of these just because I don't need them. It's pretty annoying to get questions about side components

    The idea behind probably is that a Delphi Master Developer should to be proficient in these, too. After all, they are part of Delphi Enterprise. Perhaps that is exactly what makes the difference: Being experienced in all or at least most parts of Delphi, not only some core parts. Of course, I don't know the actual reasons.

    • Like 2

  2. It has been quite some time when I made this certificate. Actually, I was one of the first people doing it.

     

    The questions were quite challenging, especially because they required deep knowledge of most of the Enterprise features of Delphi. In the past years there were many additions to these (e.g. FireDAC, REST, Mobile etc.) and I doubt that the questions kept the same over the time. I cannot say anything about the current state and level of difficulty of the exam.

    • Like 1
    • Thanks 1

  3. 12 hours ago, Anders Melander said:

    And where is this written?

    I admit the wording was chosen as a counterpart to Davids claim and should not be taken literally. In addition I also mentioned that I would vote for a better implementation.

     

    It is just my personal opinion that if everybody is going to avoid the standard routines in favor of writing its own, we may never see any improvement in that area.

    • Like 2

  4. Reading the current code of Delphi 11.2 I assume the documentation is wrong. TList<T.BinarySearch just calls TArray.BinarySearch, which implements the search loop like this:

      while L <= H do
      begin
        mid := L + (H - L) shr 1;
        cmp := Comparer.Compare(Values[mid], Item);
        if cmp < 0 then
          L := mid + 1
        else if cmp > 0 then
          H := mid - 1
        else
        begin
          repeat
            Dec(mid);
          until (mid < Index) or (Comparer.Compare(Values[mid], Item) <> 0);
          FoundIndex := mid + 1;
          Exit(True);
        end;
      end;

    The repeat inside the equals case searches for the lowest matching index before returning it and exit.

     

    AFAIK, this was introduced with 11.0 and nobody thought of updating the docs for both methods.


  5. 45 minutes ago, mikerabat said:

    In previous Delphi versions - when tab is invoked - the cursor jumps to the ":" then to "F" of format. Now the tab just moves the cursor

    by 2 (acording to the setting) which is actually anyoing.

    I can verify the expected behavior from previous versions with the following settings in Editor options - Language (Delphi):

    image.thumb.png.8e719c35670c5deb5f353807542dc5f9.png

     

    07-12-2022_15-13-24.thumb.gif.327b7274083e5ecac9818ee0206c7e32.gif

     

    Disabling Smart tab results in the annoying behavior you describe.

     

    Embarcadero® Delphi 11 Version 28.0.46481.1287 

     

×