Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: ram@zedat.fu-berlin.de (Stefan Ram) Newsgroups: de.comp.lang.java Subject: Re: guter Stil void oder boolean Date: 9 Jul 2022 21:48:38 GMT Organization: Stefan Ram Lines: 17 Expires: 1 Apr 2023 11:59:58 GMT Message-ID: References: <1a3b5a2f-84da-4710-978b-c953f1262955n@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: news.uni-berlin.de 8wxa1QyHgQky50Vc3E0v2Q3rQC8hRRVVpDc8lW/SEJVyD2 X-Copyright: (C) Copyright 2022 Stefan Ram. All rights reserved. Distribution through any means other than regular usenet channels is forbidden. It is forbidden to publish this article in the Web, to change URIs of this article into links, and to transfer the body without this notice, but quotations of parts in other Usenet posts are allowed. X-No-Archive: Yes Archive: no X-No-Archive-Readme: "X-No-Archive" is set, because this prevents some services to mirror the article in the web. But the article may be kept on a Usenet archive server with only NNTP access. X-No-Html: yes Content-Language: de-DE Accept-Language: de-DE, en-US, it, fr-FR Xref: csiph.com de.comp.lang.java:13386 Luis Bischof writes: >seit l=C3=A4ngerem stelle ich mir die Frage, was ist ein guter Stil bei Jav= >a, wenn man eine grobe Vorstellung =C3=BCber eine Methode hat, aber sich no= >ch nicht sicher sein kann ob ein spezieller Datentyp zur=C3=BCckgegeben we= >rden soll. Wenn der Typ noch nicht klar ist, dann gibt es ja keinen Grund, gerade den speziellen Typ "bool" dafür festzulegen. Dabei ist eine Bedeutung des englischen Adjektivs "void" laut einem allgemeinen Englisch-Wörterbuch: "Not occupied; unfilled", das Substantiv "void" bedeutet auch: "An open space; a gap. - das wäre ja genau die richtige Bedeutung! Also eher "void".