News for hackers. Stuff that matters.
Re:Why developers are allergic to job opportunities by Wilya on Tuesday September 11, 2012 @03:14PM (#4507266)
The post seems rendered from markdown client-side.

I fail to see how this even remotely makes sense, though.

Re:Why developers are allergic to job opportunities by bitsweet on Tuesday September 11, 2012 @04:18PM (#4507590)
We invested a lot of time in the preview capabilities when creating a protip. We hit a small issue recently rendering the same markdown from both the client side during content creation and server side during rendering. While we fix it we just opted to temporarily do it client-side for now. It's not perfect but worked as a stop-gap measure for most.
Re:Why developers are allergic to job opportunities by anonymouz on Tuesday September 11, 2012 @04:55PM (#4507747)
Ah, I can see the reasoning there, but do not agree with it at all. Besides the inherent awfulness of this approach, my first thought was that the site is completely broken. My second one was, "Why do they want to trick me into enabling JS?".
Re:Why developers are allergic to job opportunities by Evbn on Tuesday September 11, 2012 @04:01PM (#4507517)
So its like XML+XSLT, but hipsterized?
Re:Why developers are allergic to job opportunities by ihsw on Tuesday September 11, 2012 @04:25PM (#4507620)
Not at all, there's a certain level of sensibility in client-side rendering -- particularly because responses can contain only a skeleton structure of content, ie: JSON.

Relying on a client-side language that may (or may not) be disabled, however, is simply foolish.

Re:Why developers are allergic to job opportunities by anonymouz on Tuesday September 11, 2012 @04:52PM (#4507734)
But roughly speaking HTML should contain the structure, and CSS the rendering information, especially if it's mostly a static page like here (maybe if you're writing a Webmail client or something it makes sense to handle more stuff on the client side).

I guess the absolute horror scenario for the web would be when people start deciding to do their own personal server-side markup, and then render it with a bloated JS library on the client (hey, it's Turing complete!).