s**********e 发帖数: 140 | 1 Palo Alto的几个公立初中有什么不同?
Terman,JLS, Jordan
(1)学校的气氛风格
(2)学生的家庭背景
有什么不同? |
|
s**********e 发帖数: 140 | 2 Palo Alto的几个公立初中有什么不同?
Terman,JLS, Jordan
(1)学校的气氛风格
(2)学生的家庭背景
有什么不同? |
|
s**********e 发帖数: 140 | 3 Palo Alto市的哪个初中最好?
Palo Alto市有三个初中:David Starr Jordan, Terman, Jane Lathrop Stanford(JLS)
网上的评价不一。有些认为David Starr Jordan最好,Terman很差。另外一些网站称
Terman是加州第一的公立初中。
Jordan在yelp, k12.niche.com, 和 www.greatschools.org 上的rating怎么这么低?
比其他的两个学校差多了。
另外,三个学校的学业,校风, 特长, 以及学生的家庭背景有何不同?
************************************************************************ |
|
s**********e 发帖数: 140 | 4 Palo Alto市的哪个初中最好?
Palo Alto市有三个初中:David Starr Jordan, Terman, Jane Lathrop Stanford(JLS)
网上的评价不一。有些认为David Starr Jordan最好,Terman很差。另外一些网站称
Terman是加州第一的公立初中。
Jordan在yelp, k12.niche.com, 和 www.greatschools.org 上的rating怎么这么低?
比其他的两个学校差多了。
另外,三个学校的学业,校风, 特长, 以及学生的家庭背景有何不同?
************************************************************************ |
|
s**********e 发帖数: 140 | 5 Palo Alto的几个公立初中有什么不同?
Terman,JLS, Jordan
(1)学校的气氛风格
(2)学生的家庭背景
有什么不同? |
|
s**********e 发帖数: 140 | 6 Palo Alto市的哪个初中最好?
Palo Alto市有三个初中:David Starr Jordan, Terman, Jane Lathrop Stanford(JLS)
网上的评价不一。有些认为David Starr Jordan最好,Terman很差。另外一些网站称
Terman是加州第一的公立初中。
Jordan在yelp, k12.niche.com, 和 www.greatschools.org 上的rating怎么这么低?
比其他的两个学校差多了。
另外,三个学校的学业,校风, 特长, 以及学生的家庭背景有何不同?
****************************************************************** |
|
P**********y 发帖数: 397 | 7 2001 Suzuki Vitara JLS 4dr, 83Kmiles, 5000 dollars
帮忙查Carfax, 一直到8月底,请发站内信箱 |
|
|
|
m******t 发帖数: 2416 | 10
JLS 4.2.1: "For int, from -2147483648 to 2147483647, inclusive". |
|
|
m******t 发帖数: 2416 | 12
[snip]
I completely agree with what you said here and below about "final",
but unless I misunderstood the OP, his problem is with constants, i.e.,
"static final", rather than just "final". I would say they are totally
different animals. 8-)
Section 13.4.8, JLS actually does dictate that "compiler-time constants",
i.e., static final variables be inlined, and even gives some explanation
as to the rationale behind this requirement. |
|
m******t 发帖数: 2416 | 13
wots
Just go and read the javadoc for String.intern(), will you? 8-)
Oh, and the JLS 3.10.5. |
|
m******t 发帖数: 2416 | 14
See Sections 8.4.9 and 15.12.2, JLS, 3rd Edition. |
|
m******t 发帖数: 2416 | 15 I have always hated it when the compiler does this. The JLS specifically
says
a variable is always assigned a default value when it's created. Well, if
it's
assigned a default value, then it's in a known state, and you can't say it's
not initialized, right?
I think it should've been a lint warning instead of a hard error.
in
"
compilation
, |
|
s******n 发帖数: 876 | 16 well, the language spec has dedicated 50 pages for
this subject alone. we thought java is supposed
to be simpler than c++...
http://java.sun.com/docs/books/jls/third_edition/html/expressio
15.12 Method Invocation Expressions
15.12.1 Compile-Time Step 1: Determine Class or Interface to Search
15.12.2 Compile-Time Step 2: Determine Method Signature
15.12.2.1 Identify Potentially Applicable Methods
15.12.2.2 Phase 1: Identify Matching Arity Methods Applicable by
Subtyping
... 阅读全帖 |
|
s******n 发帖数: 876 | 17 apparently the spec has changed since then.
in the current spec, the relevant section is 8.4.2
http://java.sun.com/docs/books/jls/third_edition/html/classes.h
which has a weaker restriction on when m1 and m2 cannot
be declared in the same class:
# m2 has the same signature as m1, or
# the signature of m1 is the same as the erasure of the signature of m2.
List and List are different, and neither is
the same as the erasure of another, i.e. List is
not the same as the erasu... 阅读全帖 |
|
w**z 发帖数: 8232 | 18 同意这个。很少听人说core Java .二爷可能指Java 作为编程语言。(JLS +JVM)但现在
Java 越来越像platform. 很多frame work,各种Jsr 甚至jvm language. |
|
r****y 发帖数: 26819 | 19 是这么回事。有意思的是,java里不讲lvalue和rvalue,用的是variable和value这两
个词。JLS里说variable指的是一个存储地址及其相关类型,或者叫编译类型。(4.12)
variable是用来hold一个value的。而return expression返回的一定是个value。(14.
17) |
|
|
d******p 发帖数: 24 | 21 http://java.sun.com/docs/books/jls/second_edition/html/lexical.doc.html#100960
Because Unicode escapes are processed very early, it is not correct to
write '\u000a' for a character literal whose value is linefeed (LF); the
Unicode escape \u000a is transformed into an actual linefeed in translation
step 1 (§3.3) and the linefeed becomes a LineTerminator in step 2 (§3.4),
and so the character literal is not valid in step 3. Instead, one should
use the escape sequence '\n' (§3.10.6). Similarly, it |
|
s******n 发帖数: 876 | 22
good point, it must be resolved.
a cmd line argument can always be interpreted as a String literal. it may
also be parsed into a primitive literal: int/long, float/double, char, true/
false/null - if that succeeds, there is no ambiguity in which primitive type
it ends up with.
Now we need to resolve method overloading, in the same way a compiler does
it(JLS 15.12.2.5), only in our purpose, a primitive literal is a "subtype"
of a string literal.
This won't confuse a programmer who's not confused |
|
z*******n 发帖数: 1034 | 23 http://www.informit.com/articles/printerfriendly/2211695
Introduction to "The Java Language Specification, Java SE 8 Edition"
By James Gosling, Gilad Bracha, Alex Buckley, Bill Joy, Guy L. Steele
Date: Jun 12, 2014
The Java® programming language is a general-purpose, concurrent, class-
based, object-oriented language. It is designed to be simple enough that
many programmers can achieve fluency in the language. The Java programming
language is related to C and C++ but is organized rather dif... 阅读全帖 |
|