JavaScript isn't enabled in your browser, so this file can't be opened. Enable and reload.
This browser version is no longer supported. Please upgrade to a supported browser.
Learn More
Dismiss
Good Practices in Java (6)
External
Slideshow
Sign in
File
Edit
View
Help
Accessibility
Debug
Unsaved changes to Drive
Accessibility
View only
1
Good
Practices
in
Java
(6)
Vlad
Patryshev,
H2O,
2017
http://tinyurl.com/goodj
ava6
2
Contents
●
Casting:
bad
●
Type
checking:
bad
●
Switch
is
a
dispatch
●
Booleans
are
often
a
dispatch
●
One
boolean
arguments
causes
confusion,
two
cause
errors
●
Arrays
->
Tuples
●
equals()
is
an
equivalence
relation
●
equals()
=>
hash()
●
Add
toString()
●
Tests,
tests,
tests
Good
Practices
in
Java
(6)
Vlad
Patryshev,
H2O,
2017
http://tinyurl.com/goodj
ava6
This slide is skipped in slideshow mode
HTML view of the presentation
Turn on screen reader support
Banner hidden
Since you last viewed
Since you last approved
Since approval started
Presenter view
Start slideshow with speaker notes and audience Q&A
Start from beginning
Ctrl+Shift+F5
Present using Chromecast
Presentation display options
Search the
m
enus
Alt+/
Slides
H
elp
T
raining
U
pdates
Help Slides imp
r
ove
Report
a
buse
P
rivacy Policy
Term
s
of Service
K
eyboard shortcuts
Ctrl+/
Verbalize to
s
creen reader
►
Go to
f
ilmstrip
Ctrl+Alt+Shift+F
Go to can
v
as
Ctrl+Alt+Shift+C
Go to speaker
n
otes
Ctrl+Alt+Shift+S
C
omments
►
M
isspelling
►
F
o
rmatting
►
Anyone with the link
Anyone who has the link can access. No sign-in required.
Copy link
Copy link to this time
Quick sharing actions
To enable screen reader support, press Ctrl+Alt+Z To learn about keyboard shortcuts, press Ctrl+slash