News for hackers. Stuff that matters.
Re:YouTube was launched as a dating site by rainyMammoth on Sunday July 21, 2019 @03:14PM (#20493109)
that's a nice little one. Funny to see those websites from back in the days when HTML was still hand made and handcrafted
Re:YouTube was launched as a dating site by reaperducer on Sunday July 21, 2019 @03:27PM (#20493166)
Funny to see those websites from back in the days when HTML was still hand made and handcrafted

You might be surprised which giant corporations have given up on all the framework hype and language tribalism and actually allow their web devs to build sites by hand with care.

I'm thinking of one particular multi-billion dollar company, but there are a number of others.

Sometimes sanity wins.

Re:YouTube was launched as a dating site by anonu on Sunday July 21, 2019 @03:35PM (#20493208)
Have you guys tried this javascript library? Loads instantly: http://vanilla-js.com/
Re:YouTube was launched as a dating site by jimmaswell on Sunday July 21, 2019 @03:58PM (#20493316)
It detracts from the point how the jQuery examples are much nicer.
Re:YouTube was launched as a dating site by codegeek on Sunday July 21, 2019 @03:41PM (#20493240)
This one never gets old.
Re:YouTube was launched as a dating site by samplatt on Sunday July 21, 2019 @07:15PM (#20494293)
App dev here; haven't touched js since ~2002... what's the joke?
Re:YouTube was launched as a dating site by karlding on Sunday July 21, 2019 @07:29PM (#20494359)
It's poking fun at how there's a new flavour of JavaScript framework seemingly every week: Angular, React, Vue, Mithril, etc. Each one has a killer feature or some new spin on how to write your JavaScript code.

The word "vanilla" is used here as an adjective to describe something that is "lacking distinction: plain, ordinary, or conventional" [0].

As such, the joke is that Vanilla JS is being presented as some amazing new framework, but it isn't anything more than regular JS that you would write. In a sense, it's the anti-JS framework, requiring no additional scripts or dependencies.

[0] https://www.merriam-webster.com/dictionary/vanilla

Re:YouTube was launched as a dating site by JorgeGT on Monday July 22, 2019 @05:47AM (#20496538)
Well, Berkshire Hathaway is a multi-billion company and for sure they gave up pretty early in webdev technology: https://www.berkshirehathaway.com/
Re:YouTube was launched as a dating site by alasdair_ on Tuesday July 23, 2019 @01:22AM (#20504600)
>Well, Berkshire Hathaway is a multi-billion company and for sure they gave up pretty early in webdev technology: https://www.berkshirehathaway.com/

This is deliberate. Warren Buffet was vocally anti-dot-com boom (and bust) and their site continues to follow a minimalist philosophy to this day.

Re:YouTube was launched as a dating site by JorgeGT on Tuesday July 23, 2019 @02:12PM (#20508881)
Minimalist is one thing, done with an old copy of Microsoft Word is another.
Re:YouTube was launched as a dating site by vecplane on Sunday July 21, 2019 @03:30PM (#20493176)
I would predict Apple falls into this category.
Re:YouTube was launched as a dating site by reaperducer on Sunday July 21, 2019 @03:41PM (#20493242)
I know that Apple's trashcan Mac Pro page was hand-crafted. There was an article about it on the intarwebs at the time.

But I was actually thinking of a different company. I'd forgotten about Apple.

Re:YouTube was launched as a dating site by MaxLeiter on Sunday July 21, 2019 @05:24PM (#20493763)
Does anyone have a link for this website? The Mac Pro may have been poorly designed but the website was a pleasure to scroll through
Re:YouTube was launched as a dating site by sacheendra on Sunday July 21, 2019 @03:33PM (#20493197)
Looking a the source code of their website, they seems to use react for at least part of it.
Re:YouTube was launched as a dating site by dmitriid on Sunday July 21, 2019 @03:37PM (#20493215)
Whatever they use, Apple's product pages are definitely handcrafted. Especially around the time of big releases.

The use of a framework/library does not preclude handcrafting.

Re:YouTube was launched as a dating site by qudat on Sunday July 21, 2019 @03:57PM (#20493314)
Aren't all webpages hand-crafted then?
Re:YouTube was launched as a dating site by derefr on Sunday July 21, 2019 @04:42PM (#20493533)
If a program generates something, and then a human hand-curates it, that’s maybe hand crafting (the program is being used as a tool by the human artisan.)

But if a program generates something, and then just directly serves the result, it is certainly not hand-crafted.

The distinction comes down to whether the final result is something a human signed off on and took responsibility for, or whether it’s just the result of blind rule-following.

Re:YouTube was launched as a dating site by reaperducer on Sunday July 21, 2019 @04:36PM (#20493502)
Not necessarily. I don't think people expect to have to individually map pixels in their PNG's in order for a page to be hand-crafted, either.

But it certainly is a gray area.

Re:YouTube was launched as a dating site by kadendogthing on Sunday July 21, 2019 @05:15PM (#20493715)
Yes. I don't know why HN likes to pretend they're exceptions to patterns and processes that came about for a number of reasons.

In this specific case, the hand crafted HTML that I've come across in my lifetime is usually absolute garbage. I can normally see how the developer who wrote it thinks they're being clever or nifty, and dare I say it "clean", but it usually falls short and causes more harm than good.

So imagine we as an industry organically build tools to address this. 10 years later it's pretty good, but like 5 major websites still handcraft things because they have complicated user experiences with a broad user base.

We then get dork heads who see this, believe they're part of the exception, despite not having anything remotely close to the userbase or requirements of these websites, refuse to understand why certain things are the way they are, and think they're above these processes and frameworks despite not having invested any real time or effort into the skills necessary to justify not using these frameworks or fabricated HTML.

And the worst part is it's just HTML. And we still get it wrong.

TL;DR Programmers think they're better than they really are. Use the frameworks.

Re:YouTube was launched as a dating site by inimino on Sunday July 21, 2019 @07:53PM (#20494452)
Honestly if you question the overall quality of hand-written HTML (by people who care to hand-write it) with the overall output of tools, I kind of wonder what parallel universe you come from.

I've never yet see anyone argue that the reason tools took over the writing of HTML is because hand-written HTML wasn't good enough.

Re:YouTube was launched as a dating site by chasontherobot on Sunday July 21, 2019 @11:30PM (#20495167)
When HTML was hand written, it was largely awful. Just like anything people make. Bespoke HTML is now usually nice because the people who care to make it are the type of people who care about that sort of thing.
Re:YouTube was launched as a dating site by inimino on Monday July 22, 2019 @01:02AM (#20495433)
Hand-written HTML may have had the occasional error but when tools (remember FrontPage and Dreamweaver?) started to be used their output was dramatically worse. This was certainly not controversial at the time. Nowadays with templating languages and frontend frameworks (React is operating on the DOM but it is still just HTML elements in the end) there's still a human picking the elements and attributes that are rendered, even if there is a layer of indirection. So I don't really get the argument that hand-written HTML is bad, especially since it's ubiquitous. HTML was designed with hand-authoring in mind.
Re:YouTube was launched as a dating site by kadendogthing on Sunday July 21, 2019 @09:20PM (#20494765)
> I kind of wonder what parallel universe you come from.

The one where I don't value bespoke development just because it's bespoke?

The universe where I have to actually quantify what's good and what isn't?

The worst kind of comments related to this discussion are always the ones that are insufferably offended that they can't out perform decades of experience and knowledge without doing anything.

>I've never yet see anyone argue that the reason tools took over the writing of HTML is because hand-written HTML wasn't good enough.

Check who you're listening to? It's a fairly common argument.

Re:YouTube was launched as a dating site by inimino on Sunday July 21, 2019 @10:25PM (#20494973)
My position is based on decades of actually looking at HTML, writing it, creating a few web authoring tools along the way, and participating tangentially in HTML5 standardization.

I'm not insufferably offended by what you think I can or can't do (I couldn't care less) I just honestly can't fathom, after 20 years of looking at HTML produced by hand and by tools, how anyone could think the tools produce better markup if you're actually talking about inherent quality of the end result. Cheaper and faster, maybe, with a lower learning curve, sure, but better? I don't buy it.

Re:YouTube was launched as a dating site by z3t4 on Sunday July 21, 2019 @06:20PM (#20494033)
Some programmers confuse XML with semantic HTML. XML is hard to hand write, while semantic HTML is easy and forgiving. CSS on the other hand is more difficult, but its also much more powerful and still easier to hand-write compared to other XML-markups variants (native UI).
Re:YouTube was launched as a dating site by mattl on Sunday July 21, 2019 @06:10PM (#20493982)
Apple.com has a ton of static pages and then a mix of WebObjects apps and some other frameworks. There’s also a WordPress blog or two on there. A few years ago they messed up the Apache config and next.com worked as apple.com for a while.
Re:YouTube was launched as a dating site by cptcobalt on Sunday July 21, 2019 @06:24PM (#20494049)
None of the WebObjects mumbo-jumbo is any news, but there's a WordPress blog on Apple.com? Where?

(Another fun one, braeburncapital.com used to work as apple.com for a bit—I think even longer than next.com.)

Re:YouTube was launched as a dating site by Kluny on Sunday July 21, 2019 @07:16PM (#20494298)
Not sure, but Facebook and Reddit's internal blogs are both WordPress as well.
Re:YouTube was launched as a dating site by buboard on Sunday July 21, 2019 @04:05PM (#20493340)
what? i write most of my html