Diff for "JavaTips"

Differences between revisions 9 and 0

Deletions are marked like this. Additions are marked like this.
Line 28: Line 28:
== TIP : File IO Performance in Java ==
 * [:FileIOPerformanceInJava:File IO Performance in Java]

Java Tips : Gathering My Java Publications on Wikis and Blogs

INFO : NoClassDefFoundError

TIP : Vector 와 Iterator, Enumeration

TIP : Iterating HashMap

TIP : Null Check

INFO : Encoding and Character set (or Codepages ...)

INFO : spurious wakeup

INFO : J2SE 5

TIP : Calendar is too slow

TIP : File IO Performance in Java

[PLACEHOLDER : Java Tips Will Continue...]

String concatenation

  • use string concatenation carefully to avoid performance problems

Enumeration/Iterator

  • Iterator is fail-safe. Use Enumeration when needed.

Refactor and Re-architect

  • smell the codes which request refactor

  • refactor always! prepare re-architect always! but, do not re-architect frequently!

last edited 2006-09-24 08:13:17 by YoonKyungKoo