Hacker Newsnew | past | comments | ask | show | jobs | submit | pornel's commentslogin

Yes. It is required for W3C's DOM APIs, which give access to parent nodes and allow all kinds of mutations whenever you want.

Event handlers + closures also create potentially complex situations you can't control, and you'll need a cycle-breaking GC to avoid leaking like IE6 did.

You can make a more restricted tree if you design your own APIs with immutability/ownership/locking, but that won't work for existing JS codebases.


Rust does its own testing, and regularly helps fix issues in LLVM (which usually also benefits clang users and other LLVM languages).

Optimizing compilers are basically impossible to audit, but there are tools like alive2 for checking them.


And F-150s are called wankpanzer.

This syntax is ignored in HTML. The / is thrown away and has no effect.

This non-closing talisman means that <div/> or <script/> are not closed, and will mess up nesting of elements.


In HTML, yes. But I thought the OP was talking about XHTML?

No. In XHTML, you are required to close your p and li tags. In HTML, the "self-closing" tag is meaningless. That slash doesn't do anything. You can't self-close a <script> or <div> tag. It only appears to work for tags that are don't allow closing.

We aren’t talking about p and li tags which require data to be embedded.

We are talking about self-contained tags such as br.

In XHTML (and XML in general) tags absolutely can be open and closed inside the same tag via the method I described:

    <br/>
Look it up if you don’t believe me. But this is correct.

Are we talking about HTML or XHTML?

In HTML, you can add the slash, but it has no effect. The spec explicitly says that the slash does not close the element. The fact that it's "br" does. So you are allowed to add that slash. But adding it does not close the element.

> On void elements, it does not mark the start tag as self-closing but instead is unnecessary and has no effect of any kind.

https://html.spec.whatwg.org/multipage/syntax.html#start-tag...

In XHTML, normal XML rules apply, as you say. That's consistent with what I've said earlier in this thread also.


You’re now talking about HTML again, not XHTML!

Edit 2:

And I’m surprised you even needed to ask because the term “XHTML” has been used consistently. It really shouldn’t be confusing for someone of your obvious technical capabilities

Edit 1:

> In XHTML, normal XML rules apply, as you say. That's consistent with what I've said earlier in this thread also.

Except you haven’t said anything consistently. You keep trying to “educate” people without understanding the point they were making to begin with.


Ok. I don't think we really disagree on anything. You and I have both referred to HTML and XHTML elsewhere prior in this thread.

The original post also covers both. It seems at some point one of us was talking about one of them and the other assumed it was the other.

I thought I understood the point being made, but maybe not.


NN did not reject invalid HTML. It could not incrementally render tables, while IE could. That's all.

Because table layout was common, a missing </table> was a common error that resulted in a blank page in NN. That was a completely unintentional bug.

Optional closing tags were inherited from SGML, and were always part of HTML. They're not even an error.


It's not about reach, but about not seeing a problem in being a member of Elon Musk's website.

Which social network would you choose if you wanted reach?

There isn't any that isn't run by questionable people.


People are there for reach. Politicians, celebrities. Bernie Sanders, Elizabeth Warren, Jeremy Corbyn, Keir Starmer, Kaja Kallas, Ursula von der Leyen... If they don't see a problem, why should the Cloudflare CEO?

X displays a cut down post preview to people who aren't members of the site. There's no context, no comments.

It seems like the preview for not-fans-of-Elon is also missing a screenshot?


The complaints were that the UI was not customisable, with limited functionality, stubbornly did things the Mac way even if that was confusing to Windows users. The implementation was often slow and sometimes buggy.

But it had taste and attention to detail. It followed Apple's own HIG (design guidelines). The UI had some flashy details, but they had a purpose or at least didn't get in the way. I don't feel any of this in the current Apple designs.


It used to be the opposite! From the end of the PowerPC era throughout most of the Intel era, the Mac OS X was the main selling point, while the hardware was slow, overpriced and overheating (they've had some nice touches like MagSafe and "ears" on power supplies for the cable, but that didn't make up for everything else).

People used to build hackintoshes to get Mac OS X without paying Apple's RAM tax or suffer having mid-range laptop GPUs in the top-of-the-line desktops.

Apple's outstanding success with their ARM chips is more of an exception than the rule.


They've got the SF Symbols font, and probably assumed that's enough. Everyone has the same set of icons available, technically.

It seems that Apple has nobody left who has all three at the same time: taste, attention to detail, and authority to demand fixes. Having lots of people who have max two out of these three gives you designs of Microsoft and Glass Apple.


I despise SF Symbols. Cheap, lame, boring, flat little hieroglyphics do not make good icons. They're just cheap.

If rather have a boring but consistent and usable UI than something jazzy but inconsistent and broken.

Every app should not be its own little universe as if it was a videogame.


"Usable" being the key word. 12 or 14 pixel square hieroglyphics are not good icons, end of story.

SF Symbols is not a bitmap font.

But as the article shows - you don't even get consistency, since different apps pick different SF symbols for the same thing.

It's just uniformity that failed to bring real user interface consistency.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: