Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Nigel Wade Newsgroups: comp.lang.java.programmer Subject: Re: Disappearing API docs Date: Wed, 20 Jul 2016 17:10:56 +0100 Lines: 51 Message-ID: References: <1017aa77-c4fe-43f4-8195-4627cbc06e99@googlegroups.com> <4dvsobh2bbgkq66caohursk91t8bn9iuij@4ax.com> <27115dc3-85aa-4305-99bd-fdfdb28f390a@googlegroups.com> <859110c7-ef6c-421d-8d26-69020e21d094@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net nz2uzkVsd6Y78+Zynov4/gpjfN54oP4QdPFTsI0IiVg0QVH+Fu Cancel-Lock: sha1:PryNridHxfXUnb9keSZ/RF4Adv4= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0 In-Reply-To: <859110c7-ef6c-421d-8d26-69020e21d094@googlegroups.com> Xref: csiph.com comp.lang.java.programmer:35009 On 20/07/16 13:36, Eric Douglas wrote: > On Tuesday, July 19, 2016 at 6:03:53 PM UTC-4, Martin Gregorie wrote: >> If you don't know, look it up: either search for "caseless string >> comparison" of find the DNS RFC and read that. Since you apparently can't >> or won't search for it, in this case you want RFC 4343. All RFCs can be >> accessed at >> >> http://www.ietf.org/rfc.html > > I have worked with unix before, I am aware of case sensitive systems. > I was not previously aware that a web server would allow case sensitive, as I'm sure I've never encountered one before. Have you never noticed that Javadoc is case sensitive? How else would it correctly differentiate the case of classes/methods/members? Try using a Javadoc classname URL which has incorrect case, e.g. https://docs.oracle.com/javase/8/docs/api/java/util/Arrays.html https://docs.oracle.com/javase/8/docs/api/java/util/arrays.html > Unless you want to obscure your publicly available data making it hard for anyone to get to without a link it doesn't make sense. Why would using case sensitivity make your data hard to find? How often do you actually type in a URL (as opposed to just a website address)? > > Either it's rare for anyone to host a web site on a case sensitive OS, or case sensitive OS normally use a flag that changes all urls to lower case? I suspect the majority of the WWW is hosted on case-sensitive systems. The typical LAMP stack has case-sensitive filesystems, and Apache is case-sensitive by default. Since you haven't noticed, it's probably safe to assume it's not a problem. > > I don't even know the point of a case sensitive OS as I've only seen it create problems. A case sensitive fileystem is as important as a case sensitive language (both natural and computer). Case conveys information. It doesn't cause any problems unless it's paired with a system which is not case-sensitive, or a user who doesn't understand it. > If you have a unix server and a Windows client and you want to update program1 you have to make sure your file is not called PROGRAM1 and you can't rename PROGRAM1 to program1 on Windows without naming it something else first... > If you setup Samba correctly then you can rename the files. You can have multiple files with what to Windows would be the same name, e.g. test.txt, Test.txt TEST.TXT are all possible simultaneously, visible to Windows and editable by Windows. You can also rename them. Any problem is entirely the fault of Windows and its lack of proper support for case sensitive file names. Linux does it properly. Samba attempts to do what it can but is constrained by Windows limitations. I don't program on Windows so I don't know how javac on Windows manages Java classes which are not in files with the correct case filenames. For example, suppose for some perverse reason you wanted the classes AbcDef and Abcdef. How would Java on Windows cope with the source and class files?