Jump to content

Sherlock

Moderators
  • Content Count

    1291
  • Joined

  • Last visited

  • Days Won

    28

Posts posted by Sherlock


  1. I'm pretty sure any Army employing women as fighter pilots has put them through the same tests and training as men, it would be recklessly stupid otherwise. That said, I am still convinced that the strongest man is stronger than the strongest woman. As can be seen in sports - athletics specifically. But our line of work is not really physically challenging, is it? Lets just concentrate on that.


  2. I keep asking and keep getting responses, and when my questions where unclear or something else was lacking, this was communicated to me in a neutral tone (people who can hear a tone in any written statement are peculiar) and I fixed that. Almost all of my questions have been answered, and I myself have been able to provide an answer too...once or twice. So for me SO is a valuable resource that should not go to waste by allowing fake answers.

     

    14 hours ago, Attila Kovacs said:

    Those self-appointed moderators

    Just how exactly does that work? Did they hack Stack Exchange to gain mod privileges? And Stack Exchange can't be bothered to check?

    • Like 3

  3. "Does not seem to work" how do you deduce this?

    Do you see error messages, get unexpected behavior? If so, what are the errors, what behavior do you expect, and what is happening instead of that?


  4. I am not blind, I know what he asked. But to just come up with code without perhaps improving the overall style or at least pointing out what is wrong with it just seems careless. But do as you please, if it makes you happy.


  5. Why would anyone choose to limit reusability of a method clearly screaming for reusability by arbitrarily dropping a TListbox into the parameter list? TStringlist as a result for a function is just fine, and that can be used to fill TListbox.Items without major surgery. You whip out source code faster than I can think @programmerdelphi2k, but sometimes slowing down and perhaps not propagate code smells to obvious newcomers, seems a wiser choice.


  6. 12 hours ago, Rick_Delphi said:

    A programmer needs to know those things? 🐵

    Definitely! For example I would not enjoy working for some weapons manufacturer. And I have no love for accounting either... I love medical devices, so that's my home. No other job would interest me, no matter what the pay or work environment.

    • Like 1

  7. Agrred. But with two StringLists whose Items correspond Item by Item there is clearly no room for interpretation. But, lets let the TE clarify... @giomach has either been overwhelmed by the answers or is carefully formulating a response right now.


  8. 23 minutes ago, Attila Kovacs said:

    was not defined tht list A contains unique keys

    It sort of was:

    On 5/8/2023 at 6:50 PM, giomach said:

    I have two TStringLists, which correspond item-by-item. I intend to use Find on the first list, and extract the corresponding item from the second list.  So far it works well.

    So the TDictionary approach is sound.

×