Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Page 2 of 2 FirstFirst 12
Results 16 to 21 of 21
  1. #16
    Regular Coder
    Join Date
    Jan 2013
    Location
    Germany
    Posts
    578
    Thanks
    4
    Thanked 77 Times in 77 Posts
    I think two ~ will be enough (as I said before). My point remains: Why insist on using a delimiter if you can have a delimiter-free version without any additional trouble?

    Again, I just presented a different approach to solve the same problem. What's wrong about that? Your solution is just fine, all I said about it in particular was the '~' is not a safe delimiter. Everything else is another view and has nothing to do with your solution.

  2. #17
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    18,080
    Thanks
    203
    Thanked 2,542 Times in 2,520 Posts
    Quote Originally Posted by Airblader View Post
    I think two ~ will be enough (as I said before). My point remains: Why insist on using a delimiter if you can have a delimiter-free version without any additional trouble?

    Again, I just presented a different approach to solve the same problem. What's wrong about that? Your solution is just fine, all I said about it in particular was the '~' is not a safe delimiter. Everything else is another view and has nothing to do with your solution.
    I think you are scraping the barrel. As we often say, there are often several (equally effective) ways to skin a cat.

    You often give the impression that any alternative view to your own is inferior or worthless. Looking at your posts, I get the distinct impression that you rarely come forward at the outset with a solution to the issue raised by the OP. Rather, you wait in the backgroud until others have posted solutions or advice, and then come forward with nit-picking objections. In other words, your motivation is not to help people, but rather to search diligently for some point you can dispute in order to draw attention to how freaking clever and knowledegable you are. That is deeply unattractive behaviour.

    All the code given in this post has been tested and is intended to address the question asked.
    Unless stated otherwise it is not just a demonstration.

  3. #18
    Regular Coder
    Join Date
    Jan 2013
    Location
    Germany
    Posts
    578
    Thanks
    4
    Thanked 77 Times in 77 Posts
    Philip, I'm not gonna argue here again. I did not attack you and I cannot make it any clearer than saying "Your solution is just fine". People were suggesting different delimiters without having any reason to use any of them, so I brought up an actual reason for using the delimiter suggested by jmrker. On top of that I presented a completely different approach that had nothing to do with your implementation (or the ones of the others, for that matter) other than that I used yours as a starting point (and I used yours because it seemed to be the best approach of the previously presented ones to me). My approach differed more from everone else's than yours did. What's wrong about suggesting several ways? And yes, some methods are inferior to others. Maybe the differences are subtle or almost irrelevant, but they may still be there. For example my shuffle algorithm was inferior to yours. I can accept that. Why can't you accept that using objects is safer than using strings with delimiters? It doesn't mean the delimiter version is useless and shouldn't be used – as I said: It's just fine. But there is another way to skin the cat. Using a different way to structure the data, that is.

    You don't need to constantly try to analyze me as I highly doubt you are a developer and a therapist.
    Last edited by Airblader; 03-16-2013 at 06:06 PM.

  4. #19
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    18,080
    Thanks
    203
    Thanked 2,542 Times in 2,520 Posts
    Quote Originally Posted by Airblader View Post
    Philip, I'm not gonna argue here again. I did not attack you and I cannot make it any clearer than saying "Your solution is just fine". People were suggesting different delimiters without having any reason to use any of them, so I brought up an actual reason for using the delimiter suggested by jmrker. On top of that I presented a completely different approach that had nothing to do with your implementation (or the ones of the others, for that matter) other than that I used yours as a starting point (and I used yours because it seemed to be the best approach of the previously presented ones to me). My approach differed more from everone else's than yours did. What's wrong about suggesting several ways? And yes, some methods are inferior to others. Maybe the differences are subtle or almost irrelevant, but they may still be there. For example my shuffle algorithm was inferior to yours. I can accept that. Why can't you accept that using objects is safer than using strings with delimiters? It doesn't mean the delimiter version is useless and shouldn't be used – as I said: It's just fine. But there is another way to skin the cat. Using a different way to structure the data, that is.

    You don't need to constantly try to analyze me as I highly doubt you are a developer and a therapist.


    The problem is not what you say but the way you say it. You should make an effort to be less abrasive and more diplomatic. I can often hear faint echoes of your unexpressed "Achtung schweinhund!" If your throw out judgemental (*) words like "bad choice" and "lazy" you can expect hostility in return.

    Why do you not just say "| is the best choice for a delimiter as both ~ and $ can occur in a url while | cannot. Of course, in this case, none of the urls do contain a ~ or a $ sign, so there is no problem. Here is another alternative approach not using delimiters ....."


    * Judgemental - A way of making ones self feel better, by hurting others. Usually caused by closed mindedness, and a lack of manners.
    http://www.urbandictionary.com/defin...rm=Judgemental

    All the code given in this post has been tested and is intended to address the question asked.
    Unless stated otherwise it is not just a demonstration.

  5. #20
    Regular Coder
    Join Date
    Jan 2013
    Location
    Germany
    Posts
    578
    Thanks
    4
    Thanked 77 Times in 77 Posts
    I typically don't sugarcoat a bad choice if it is a bad choice and I think a bad choice needs to be pointed out as such, but I don't mean to be hostile about it. For example, my shuffle implementation was a bad choice. Developing is a process during which we usually make bad choices that we improve later on. There is nothing wrong with making bad choices, it's in the nature of developing software.

    However, if you took that as me being hostile, then I hereby apologize. I will try to phrase my words differently, because I really wasn't looking to upset you.

    Off-Topic: I know you're not German, but nouns in German are capitalized ("Achtung Schweinhund!") and also while being a correct composition of "Schwein" (pig) and "Hund" (dog), one would typically spell it "Schweinehund".

  6. #21
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    18,080
    Thanks
    203
    Thanked 2,542 Times in 2,520 Posts
    Quote Originally Posted by Airblader View Post
    I typically don't sugarcoat a bad choice if it is a bad choice and I think a bad choice needs to be pointed out as such, but I don't mean to be hostile about it. For example, my shuffle implementation was a bad choice. Developing is a process during which we usually make bad choices that we improve later on. There is nothing wrong with making bad choices, it's in the nature of developing software.

    However, if you took that as me being hostile, then I hereby apologize. I will try to phrase my words differently, because I really wasn't looking to upset you.

    OK, I will take that in the spirit in which it is offered. But try to be more emollient in your language. Your corrections and/or amplifiactions are very welcome, but abrasive language is not.


    Off-Topic: I know you're not German, but nouns in German are capitalized ("Achtung Schweinhund!") and also while being a correct composition of "Schwein" (pig) and "Hund" (dog), one would typically spell it "Schweinehund".

    Yes, of course. I speak Dutch/Flemish in which nouns are not capitalised, and only very basic German. My understanding is that Schweinhund is an alternative form, but I bow to your superior wisdom.

    "Good judgment comes from experience and experience comes from bad judgment."
    Last edited by Philip M; 03-17-2013 at 11:59 AM.

    All the code given in this post has been tested and is intended to address the question asked.
    Unless stated otherwise it is not just a demonstration.


 
Page 2 of 2 FirstFirst 12

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •