49

IE can go fuck itself.
Today, the reason the some JS broke is because it couldn't handle tabs. Works fine in any other browser.
Replace all tabs with spaces and bam, everything works again.
😡😡😡😡😡😡😡😡😡😡😡

Comments
  • 4
    @GodHatesMe yes, my code sucks because I used tabs.
    Sounds legit.
  • 0
    @Alice it's an oversimplification but basically it encoded it when it shouldn't; causing it break everything.
  • 0
    @fSociety when web developing: spaces > tabs.

    I just use it as a general rule.
    I hit the 'tab' key on my keyboard and it produces 2 spaces in my IDE.
  • 1
    @GodHatesMe and we all know that there is indistinguishable difference in terms of performance or readability as long as your code compiles in the war of tabs vs spaces.

    Personally, i use the tab unicode character only for formatting text in a console output. Because when it comes to code integration between different environments, i find the space unicode character to be more compatible and easier to spot and remember.

    Look at the difference yourself and tell me what you think:

    - tabs: http://fileformat.info/info/...

    - spaces: http://fileformat.info/info/...
  • 1
    @bioDan "\t" vs " "?
  • 0
    @daintycode yep. Nice example for when interpolating as a string.
  • 1
    For once I agree with IE on something lol
Add Comment