8
irene
4y

sAleSfoRce aPEx is a hot wet garbage fire. How can I make this actually make this work right when I need to compare case sensitive strings?

Comments
  • 2
    Raise support ticket?
  • 6
    It is trash. On fire. In a dumpster.
  • 2
    Implement your own string compare?
    😅 that's just sad.
  • 2
  • 4
    @Root no need, someone just needs to RTFM 😅
  • 1
    @C0D4 I get that you can work around it now that I had to dig for a solution.

    The default of case insensitive makes zero sense for == because that is supposedly comparing primitives.
  • 2
    @irene don't bring logic into this, you will loose 😅

    If there's one thing I've learnt over the past couple of years, it's Salesforce has its own way of doing things.
  • 0
    @irene Because when you're exploring data, 95% of the time you're trying to match content in a case-insensitive way. You don't care how some secretary entered a person's name, you want that person to show up if you enter their name.
  • 0
    @C0D4 If the language is something That doesn’t make sense like a real programming language I’m not going to stick around to learn it and sabotage my ability to do real programming.

    Even Es5 is much better than what I see in Salesforce so far. Salesforce climbed way too far up the application stack. It is clearly interpreted before compiled but written like it is running like Java. Fuuuuu
  • 1
    @irene it's compiled and then ran over a java environment. You will notice this when you get java runtime errors apex doesn't prevent 😉

    No ones forcing you to do it right?
    Salesforce is a giant platform, you either embrace it like any other thing or you hate it to bits.

    I'll admit it can be a pain in the ass with what it can/ can't do and what you need to do at times to get arounds it's limitations at times, but I do enjoy the challenge of running into brick walls... sometimes.
Add Comment