Live data from Hacker News

CSS is powerful, you can do a lot of things without JS

github.com

311–319 of 319 posts

Re: CSS is powerful, you can do a lot of things without JS

#311
post #124

Earlier quoted context omitted.

> HN is not a chatroom - it's a news website. I normally wouldn't comment on this but since you've self-identified as being interested in correct grammar and punctuation, I will. A hyphen isn't appropriate where you've used it. It should be an em dash. You can type an em dash with shift+option+hyphen on a Mac or by holding alt and typing 151 on Windows. http://logicmason.com/2013/the-difference-between-hyphens-en...

I never use Unicode, I use ASCII.

That's a comma splice.

:D

Re: CSS is powerful, you can do a lot of things without JS

#312
post #297

Earlier quoted context omitted.

I must be insane because I don't really see that much of a difference between the two examples you provided. I can read one just as well as the other.

The former has 46 words/348 characters; the latter 20 words/176 characters. That's more than twice the tokens, twice the disk space, twice the cognitive load.

Twice the tokens, don't care.

Twice the disk space, who cares?

Twice the cognitive load, I guess I have a high tolerance.

Still don't see a compelling reason one is better than the other.

Re: CSS is powerful, you can do a lot of things without JS

#313

Earlier quoted context omitted.

I am complaining about things that even idiots should know (and that better yet HN should detect and reject). English is not an easy language to master but doing proper casing and basic punctuation right should be no challenge.

You keep implying people are idiots for missing apostrophes and not casing how your lordship likes it, I'll keep flagging your posts. In the mean time, neither CSS nor JS are featured in the dictionary so why on earth do you think your initial post is appropriate? I'm sure if you google enough you'll find a community that finds it acceptable as a whole to be rude to people who don't have proofreaders and a full publi…

Flag as much as you pervertedly enjoy it - I really don't care, and this here is not kindergarten! CSS and JS don't have to be in any dictionary as they are abbreviations! I'm not rude - you just fail to comprehend what I'm trying to say. If your issue is that you associate yourself with one of those, then I apologize, but I can't be rude as I don't expect idiots to hang in here as this is not Reddit.

Re: CSS is powerful, you can do a lot of things without JS

#314

Even if you can do a lot of stuff in css, sometimes you shouldn't do them. Razvan Caliman from Adobe has some good points on this topic: https://youtu.be/WupAsZGHDcY

Have you seen the whole presentation or just the first minutes? In the beginning he is showing some edge cases of css only usage, but then he actually demos some really good examples. The slides are here: https://github.com/oslego/css-for-decoration

I've seen it all, live and online. I was referring to those points when he's talking about css misusage.

Re: CSS is powerful, you can do a lot of things without JS

#315

Earlier quoted context omitted.

Using HTML5 tags such as , you don't need CSS or JS! Try this in Chrome: https://jsfiddle.net/timdavila/f5rcarmn/

So I didn't try it in Chrome, and it doesn't work in Firefox, yet. But I can see where this is going and it would be awesome if it actually worked.

On an encouraging note, it does work in Firefox Nightly (50.0a1).

Re: CSS is powerful, you can do a lot of things without JS

#316

Earlier quoted context omitted.

You keep implying people are idiots for missing apostrophes and not casing how your lordship likes it, I'll keep flagging your posts. In the mean time, neither CSS nor JS are featured in the dictionary so why on earth do you think your initial post is appropriate? I'm sure if you google enough you'll find a community that finds it acceptable as a whole to be rude to people who don't have proofreaders and a full publi…

Flag as much as you pervertedly enjoy it - I really don't care, and this here is not kindergarten! CSS and JS don't have to be in any dictionary as they are abbreviations! I'm not rude - you just fail to comprehend what I'm trying to say. If your issue is that you associate yourself with one of those, then I apologize, but I can't be rude as I don't expect idiots to hang in here as this is not Reddit.

Please don't post uncivil comments to Hacker News.

Re: CSS is powerful, you can do a lot of things without JS

#317
post #293

Earlier quoted context omitted.

I had forgotten how big a change conversation view was compared to other webmail. Also for what it's worth, I still use the Basic HTML view because I find it a better experience, so AJAX was definitely not the selling point for me. The 1GB thing was a huge factor though.

For me, the basic view has always felt neglected and kind of halfassed. The full experience has fully styled UI elements where as the basic view just defaults to the browser defaults. Outlook does this too. To me it just feels like basic view is just v1.0 from 2004.

It's definitely the uglier of the two views, no question. I prefer it functionality-wise though. It does less of its own window management, etc.

Re: CSS is powerful, you can do a lot of things without JS

#318

Earlier quoted context omitted.

Building web applications with screens that have complex workflows and state is a need that is largely ignored by browsers and web standards. Instead of getting reusable gui components we get indechiperable css hacks that were built for creating art installations on the web rather than getting any actual work done.

Using what was supposed to be a document display format for developing application interfaces is a massive hack in the first place...

And using style sheets that were initially for styling documents for animation/graphics, and using javascript which was created as a lightweight language for non-professionals to create reactive diff-based dom manipulations, and...

Re: CSS is powerful, you can do a lot of things without JS

#319

Earlier quoted context omitted.

the thing is that we don't always start working on sites from scratch. more often I have to clean up someone else's mess or my own that I made months or years ago. in that case I'd rather debug javascript than css.

Yeah, I think it's a lot easier to fix shitty JS than it is to fix shitty CSS. Every job I've had, I've fixed more than I build. If it's a 5 person startup, I'm iteratively fixing my own shit as the product pivots. If it's 30 people, I'm fixing code from that one idiot that interviewed well and turned out to be impressively terrible. If it's a 10,000 person company, I'm fixing shit from that entire division that wasn…

On the contrary, I think it is a lot easier to fix shitty CSS than shitty JS, because CSS is not run, but specifies attributes. This makes analysis static for the most part; race conditions and similar bugs usually do not occur.
Post reply on HN