Live data from Hacker News

MDN Blog

developer.mozilla.org

1–10 of 16 posts

Re: MDN Blog

#4
post #2

Perhaps the intro blog post should be the one linked: https://developer.mozilla.org/en-US/blog/welcome-to-the-MDN-... Interesting that they'll have sponsored posts.

Interesting that you think it's interesting. If there ever was a place for it, this would be it. I would personally prefer them doing it on their blog than being interrupted in the docs. At least I know what I am getting with the blog.

Where would your preference be for their monetization strategy?

Re: MDN Blog

#5
MDN has the advantage of being more accessible (!mdn bang on DuckDuckGo, Dash docsets) but I prefer O'Reilly's Pocket References, although they may be a tad out of date.

Re: MDN Blog

#6
post #2

Perhaps the intro blog post should be the one linked: https://developer.mozilla.org/en-US/blog/welcome-to-the-MDN-... Interesting that they'll have sponsored posts.

Interesting that you think it's interesting. If there ever was a place for it, this would be it. I would personally prefer them doing it on their blog than being interrupted in the docs. At least I know what I am getting with the blog. Where would your preference be for their monetization strategy?

I wish they'd update their docs with better examples before creating content in other areas, such as tutorials and blogs.

As an example, when comparing these two pages:

- Blog: https://developer.mozilla.org/en-US/blog/css-color-module-le...

- Reference: https://developer.mozilla.org/en-US/docs/Web/CSS/color

It is apparent that the reference page lacks any mention of features from level 4 such as oklch, display-p3, and color function. Also, a search for "display-p3" in the search bar returns no result on that page.

Re: MDN Blog

#7
post #6

Earlier quoted context omitted.

Interesting that you think it's interesting. If there ever was a place for it, this would be it. I would personally prefer them doing it on their blog than being interrupted in the docs. At least I know what I am getting with the blog. Where would your preference be for their monetization strategy?

I wish they'd update their docs with better examples before creating content in other areas, such as tutorials and blogs. As an example, when comparing these two pages: - Blog: https://developer.mozilla.org/en-US/blog/css-color-module-le... - Reference: https://developer.mozilla.org/en-US/docs/Web/CSS/color It is apparent that the reference page lacks any mention of features from level 4 such as oklch, display-p3, an…

You’re looking at the reference page for the ‘color’ property, but that’s the wrong thing: all this stuff belongs on the page for the data type; and that’s where it’s found: https://developer.mozilla.org/en-US/docs/Web/CSS/color_value. Frankly, I’d prefer the color property page (and background-color, and border-color, and …) to deliberately not have so many diverse examples, and link much more prominently to the page.

Re: MDN Blog

#8
post #2

Perhaps the intro blog post should be the one linked: https://developer.mozilla.org/en-US/blog/welcome-to-the-MDN-... Interesting that they'll have sponsored posts.

Interesting that you think it's interesting. If there ever was a place for it, this would be it. I would personally prefer them doing it on their blog than being interrupted in the docs. At least I know what I am getting with the blog. Where would your preference be for their monetization strategy?

Listen here, you. I want my Mozilla monetizations to be IN MY FACE, in-browser advertising overlays for their latest branded non-Firefox offering, while I'm trying to browse on an unrelated website.

(/s)

Re: MDN Blog

#9
post #6

Earlier quoted context omitted.

I wish they'd update their docs with better examples before creating content in other areas, such as tutorials and blogs. As an example, when comparing these two pages: - Blog: https://developer.mozilla.org/en-US/blog/css-color-module-le... - Reference: https://developer.mozilla.org/en-US/docs/Web/CSS/color It is apparent that the reference page lacks any mention of features from level 4 such as oklch, display-p3, an…

You’re looking at the reference page for the ‘color’ property , but that’s the wrong thing: all this stuff belongs on the page for the data type ; and that’s where it’s found: https://developer.mozilla.org/en-US/docs/Web/CSS/color_value . Frankly, I’d prefer the color property page (and background-color, and border-color, and …) to deliberately not have so many diverse examples, and link much more prominently to the…

You're right. I am not as familiar with MDN's organization and CSS as you are (I only recently discovered that CSS is a typed language). However, I find it confusing that some pages have their own page for values, while others don't. As a reference page, I expect the valid syntax for all values to be provided. But I agree that specific examples can be linked to other resources.

Re: MDN Blog

#10
post #9

Earlier quoted context omitted.

You’re looking at the reference page for the ‘color’ property , but that’s the wrong thing: all this stuff belongs on the page for the data type ; and that’s where it’s found: https://developer.mozilla.org/en-US/docs/Web/CSS/color_value . Frankly, I’d prefer the color property page (and background-color, and border-color, and …) to deliberately not have so many diverse examples, and link much more prominently to the…

You're right. I am not as familiar with MDN's organization and CSS as you are (I only recently discovered that CSS is a typed language). However, I find it confusing that some pages have their own page for values, while others don't. As a reference page, I expect the valid syntax for all values to be provided. But I agree that specific examples can be linked to other resources.

Things like colours and units get used in many properties (color, background-color, border-color, box-shadow—in which is only a part of the syntax—and many more; width, length, font-size, font—a shorthand in which is only a part—and many more), and if they get expanded in one place, then all properties that use them take the new definition—hence , , &c. as the only sensible way to structure things (in spec, reference and mental model). By contrast, the values of properties like ‘display’ aren’t used anywhere else.

It sounds like a large part of the problem is helping to build the right mental model. If you understand that colours and lengths are used in many places, it will make sense that they will be documented separately from the properties, and that the properties’ references will just refer to them.

Post reply on HN