Some lessons I learned while debugging Java Web App (to be updated)

– you can set and get attribute using response.sendRediect(), but instead you gotta use request.getRequestDispatcher(“”).forward() method
– don’t forget to include jdbc jar file should you use Database

-seeing the 500 or 404 error is way better than not seeing any error and your code just does not work as you expected. Darn it!

-I love developing software because of the very difficulty of it. Haha arrogant me!

-Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it

“There is no I in TEAM”
“Write your code as if the next guy to maintain is a homicidal maniac who knows where you live.”
“Any fool can write code that a computer can understand. Good programmers write code that humans can understand.” — Martin Fowler”

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s