Because knowing what the pointer is so fucking useful #worstfeatureever


Because knowing what the pointer is so fucking useful #worstfeatureever

Comments

  1. Well the expression is taking an address of something, so yes, knowing what the address is is quite useful.

    ReplyDelete
  2. Asbjørn Heid but the contains of P is also usefull, the hint should disply both in case of a "@"

    ReplyDelete
  3. Okay, I use @ for two thins mostly. 1. To use pointers to records instead of objects. In this case I want to see the content of the record in the hint. 2. When I pass something into an old school procedure/function. In this case I want to see the contents of the variable too. Cases when I want to see the pointer are so rare, that it makes sense to me to show the pointer only when I select the variable together with @, not the other way around. Now to see the contents of the variable I have to select it without @.

    ReplyDelete
  4. Paul TOTH Well yeah, but that hardly makes it the worst feature ever...

    ReplyDelete
  5. It's the 'worst', because the hint used to be as I want it to be in Delphi 2006, and then at one moment (Delphi XE, maybe) someone put an effort and made it how it is now.

    ReplyDelete
  6. Vitali Burkov now that's a regression and not a new feature request. Now hopefully either the old persons that broke this are still there or the new persons have already enough knowledge to fix this.

    ReplyDelete

Post a Comment