Live data from Hacker News

Lessons for uncultured web developers

troyhunt.com

31–40 of 114 posts

Re: Lessons for uncultured web developers

#33
post #9

There's an eleventh one, which should probably be given number zero for being top priority: read this essay and live by it: Lesson Zero: Don't Be A Sharecropper: http://www.tbray.org/ongoing/When/200x/2003/07/12/WebsThePla...

How is this at all relevant to the linked article?

Isn't the link saying that web dev is a more free and cross compatible environment because no one organization controls it? I thought it was sort of relevant. Basically a reason to do web Dec.

Re: Lessons for uncultured web developers

#34
post #2

Why is nobody using the ISO format for dates? http://en.wikipedia.org/wiki/ISO_8601 yyyy-mm-dd? Another benefit is that it sorts correctly in the file explorers (I used to name my photo folders like that...). Coming from a country where we typically do dd/mm I can never remember what the English standard is. I've taken to always writing the name of the month to be sure. Also, can the huge lead of the iPhone still be…

That's the format I use in my custom blog engine, which parses markdown files into blog posts. As you mention, this results in blog posts that self-sort regardless of file manager, plus it's easier for me to parse. The down side is the fact that auto completion doesn't work as well on the command line (because all my blog posts start with 2012, so far).

Re: Lessons for uncultured web developers

#35
post #27

> 6. Country code top level domains give context However, pay attention to the fact that "top level domain" does not necessarily have anything to do with language. For instance, .it = Italian, right? Wrong. There are German and French language minorities here, amongst others. Other countries are even more confusing/problematic.

I hate it so much that linked in default to Malay every time I landed on its pages. No way to change it to English.

Re: Lessons for uncultured web developers

#36
post #8

Good list, and interesting how at least half of the points are about localisation/internationalization. The date point was good I find that one very annoying. The easiest way to work it out on forums is usually to look at the previous post and see what number goes down (day). I didn't realise the mm/dd format was only officially used in two countries. I've never understood why it's use at all, it makes much more sens…

As with most internationalization problems, blame the British. We used this middle-endian format around the time we colonised North America (I guess it does kind of make sense when you're reading aloud). The USA standardised on it, whereas most of the rest of the world (including Britain) moved on to a more logical format. See also: power plugs. The British came up with a new British Standard plug seemingly every few…

We also pioneered colonialisation, plundering and killing the natives. The US was a good student and has now become the master.

Re: Lessons for uncultured web developers

#37
Another problem is the address format. US sites that ship internationally almost always require a state field - something that's not a part of the address here in Sweden. For sites with lots of international customers it might be better to let them format the address since there are a lot of different formats: http://en.wikipedia.org/wiki/Address_(geography)

Re: Lessons for uncultured web developers

#38
post #16
post #15

Earlier quoted context omitted.

> Why is nobody using the ISO format for dates? Sweden uses it. In informal situations you often see d/m but whenever a year is present it's always y-m-d. In fact people identify themselves using this format as part of the national ID numbers that are used for everything from healthcare to newspaper subscriptions.

In Sweden I've seen d/m-yy or d/m-yyyy used when a year is present, and I still use it when signing contracts, though I am starting to write the first letters of the month instead.

I've always interpreted that as d/m -yy, simlar to 'yy, as d/m yyyy would be the correct format.

Re: Lessons for uncultured web developers

#39
> Why are these US only? It’s a conundrum which we probably don’t regularly need to worry about, but it’s unusual all the same (I’d love to hear insight on why there’s no .us on these).

History of the internet: it was invented as a US department of defense research project, and grew into the beast it is today. You could buy a .com address years before the internet existed outside the US. Note that .uk exists for the same reason -- it should be .gb, which is the country code, but the UK had already been naming everything with "uk" internally.

So the .edu, .mil, .gov, and .uk got grandfathered in. Others disappeared: ARPA, NATO, Czechoslovakia. People can still register .su domains, if they like -- that's the country code for the Soviet Union.

Once a TLD sees enough use, there's no real way to get rid of it.

Re: Lessons for uncultured web developers

#40
post #6
post #2

Why is nobody using the ISO format for dates? http://en.wikipedia.org/wiki/ISO_8601 yyyy-mm-dd? Another benefit is that it sorts correctly in the file explorers (I used to name my photo folders like that...). Coming from a country where we typically do dd/mm I can never remember what the English standard is. I've taken to always writing the name of the month to be sure. Also, can the huge lead of the iPhone still be…

Because it's a format rarely used outside of an engineering context. If your users are 100% from a technical background, and always will be, fine. Otherwise, a lot of your users will find it difficult to parse dates in this format.

In my country (it's small, I admit that) yyyy-mm-dd is official date standard.
Post reply on HN