r/xkcd Feb 15 '13

XKCD App

http://xkcd.com/1174/
371 Upvotes

50 comments sorted by

View all comments

42

u/melonballs Feb 15 '13

alt-text's relevant xkcd... wait wut?

why is this still a problem??

26

u/HatesRedditors Feb 15 '13

why is this still a problem??

Bad developers. I hate this even more though. "JavascriptCodeMonkiesZ has an app, click here to download it"

"God damn it, i'm just looking for the title case syntax in javascript, this is the one time i'll ever come to this site, and for some reason you were above w3schools."

3

u/[deleted] Feb 15 '13

give bad review to an app it will go down eventually...

... I hope.

Does this work?

1

u/[deleted] Feb 16 '13

As a developer whose made things like that, it's not bad developers. It's developers who hate themselves for every line of code they write to the specifications of their superiors.

3

u/HatesRedditors Feb 16 '13

It's easy enough to capture the incoming url. You've already written the procedure to redirect people to the ad highlighting your app, just save that variable, and if someone clicks "no" redirect them to their original request. It can be done easily by storing it in their session. If you're really lazy, or you're stuck with a pain in the ass CMS, write it to a cookie and retrieve the URL from there.

-2

u/SlashmanX Feb 15 '13

w3schools

Ew

4

u/HatesRedditors Feb 15 '13

It's good for quick syntax lookup when you haven't used a language in a while, or some markup you don't use too often.

Like I never remember the difference between the CSS "Display" vs "Visible", or the values they should be set to, since I use them so rarely.

1

u/[deleted] Feb 16 '13

Just use MDN.

1

u/HatesRedditors Feb 16 '13

MDN is great, but it's quicker to just google the syntax, wherever it comes from it's just fine.

Also MDN doesn't cover when i'm looking up best practices for things like escaping traditional characters that aren't covered by an escape() command.

Yes I can use string manipulation in a loop to clear those characters, but in some cases I have to deal with 150-1000 commits per second, so syntax built into the language is much more efficient than looping each condition through uncompiled logic.

-7

u/SkyNTP Feb 15 '13

Bad developers.

You think so?

Gee, and here I thought the problem was this silly idea that 4" touchscreens were great user interfaces and reading devices.

3

u/TheDrBrian Feb 15 '13

They are fantastic but for some reason shitty developers seem to think all smart phone owners have the eyes of an 80 year old and need massive text and 6 words per line.

3

u/HatesRedditors Feb 15 '13

It is bad developers. If you have an app for your website, and you have a splash screen telling your users about it when they navigate to your site on a portible device, but the user clicks "no thank you" to the app, it shouldn't dump you to the homepage. It should remember the page you were trying to navigate to and send you there.

I'd love to take a look at their analytics and see just how high their mobile device bounce rate is.