Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #33313
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Keith Thompson <kst-u@mib.org> |
| Newsgroups | comp.lang.c, comp.lang.java.programmer |
| Subject | Re: Prefix and postfix |
| Followup-To | comp.lang.java.programmer |
| Date | Mon, 07 Dec 2015 11:46:40 -0800 |
| Organization | None to speak of |
| Lines | 22 |
| Message-ID | <lnr3iynisf.fsf@kst-u.example.com> (permalink) |
| References | <3bbd01d2-f14e-4a3b-98b0-a565591b0373@googlegroups.com> <3edeeee4-2714-403b-a3d9-ed261c76f242@googlegroups.com> <f9ad421f-1902-4cdc-a8aa-531b0d0234f3@googlegroups.com> <n42cuj$oa2$1@dont-email.me> <87610b2jzz.fsf@bsb.me.uk> <n42n4m$rn0$1@dont-email.me> <dck71cF3951U4@mid.individual.net> <n42qiq$3a4$1@dont-email.me> <n43pfv$v8r$1@dont-email.me> <n43qke$409$1@dont-email.me> <n43ruv$8l2$1@dont-email.me> <n43vkh$fbr$1@speranza.aioe.org> <expressions-20151207135932@ram.dialup.fu-berlin.de> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Injection-Info | mx02.eternal-september.org; posting-host="945944de09706c9b4e29b53c9d2efdc2"; logging-data="25379"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+8YuMYgkpc5hPzcc27z9F0" |
| User-Agent | Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
| Cancel-Lock | sha1:fFU0FOw+ToFbfd6dUHwQcIm2Wi4= sha1:x71TJfj716XYa+wcd/exyITgDXk= |
| Xref | csiph.com comp.lang.c:78122 comp.lang.java.programmer:33313 |
Cross-posted to 2 groups.
Followups directed to: comp.lang.java.programmer
Show key headers only | View raw
ram@zedat.fu-berlin.de (Stefan Ram) writes:
> glen herrmannsfeldt <gah@ugcs.caltech.edu> writes:
>>For comparison purposes, Java has assignment expressions as
>>statements.
>
> In Java, assignment expressions are not statements.
No, but as in C, adding a semicolon to an assignment expression makes
it a statement, specifically an ExpressionStatement. (Unlike C,
Java doesn't permit adding a semicolon to *any* expression to form
a statement, but an assignment is one of the subset of expressions
that can be used in an ExpressionStatement.)
If you're going to quibble about punctuation in a forum that may
not be familiar with the language you're discussing, it would be
helpful to mention what you're doing.
--
Keith Thompson (The_Other_Keith) kst-u@mib.org <http://www.ghoti.net/~kst>
Working, but not speaking, for JetHead Development, Inc.
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"
Back to comp.lang.java.programmer | Previous | Next — Next in thread | Find similar | Unroll thread
Re: Prefix and postfix Keith Thompson <kst-u@mib.org> - 2015-12-07 11:46 -0800 Re: Prefix and postfix glen herrmannsfeldt <gah@ugcs.caltech.edu> - 2015-12-08 01:07 +0000 Re: Prefix and postfix Jan Burse <janburse@fastmail.fm> - 2015-12-15 22:13 +0100
csiph-web