Friday, September 25, 2015

Study time - watch videos, and read articles

10/18/2015

REST+JSON API Design - Best Practices for Developers

https://www.youtube.com/watch?v=hdSrT4yjS1g

How To Design A Good API and Why it Matters (Julia's rating: A+)
https://www.youtube.com/watch?v=aAb7hSCtvGw

-- more notes: How To Design A Good API and Why it Matters
Watched again on 10/21/2015, notes taken to share:
54:40/1:00:18
Use Appropriate Parameter and Return Types
. Favor interface types over classes for input
- provides flexibility, performance
. Use most specific possible input parameter type
- Moves error from runtime to compile time (Julia's comment: Great tip, reduce time on debugging, fix things in compiling time!)
. Don't use string if a better type exists
- Strings are cumbersome, error-prone, and slow
. Don't use floating point for monetary values
- Binary floating point causes inexact results!
- Use double (64 bits) ranther than float (32bits)
-Precision loss is real, performance loss negligible

watched again on 10/21/2015, notes take to share:
49:19/1:00:18
Don't violate the Principle of Least Astonishment

Read more on this article:
http://programmers.stackexchange.com/questions/187457/what-is-the-principle-of-least-astonishment

-- end of notes for

Josh Bloch, Lord of the APIs - A Brief, Opinionated History of the API
https://www.youtube.com/watch?v=ege-kub1qtk

https://www.youtube.com/watch?v=4YxnxmQS41s

9/27/2015
SQL injection Myths & Fallacies: Best practices of defense

https://www.youtube.com/watch?v=o4dJ7hdA8fs

Quickly go over the book "SQL antipatterns" in short future.

9/24/2015

Effective Java - Still Effective After All These Years

Julia’s favorite time: first 15 minutes with two great coding examples; watch again later.


9/25/2015

Back to my life without writing code, enjoy the videos to catch up things about internet and technology, my favorite topic in the video: google CEO comment about competition, company vs. government, what the differences, How CEO thinks. 

Eric Schmidt & Jared Cohen: The impact of Internet and Technology


https://www.youtube.com/watch?v=OwJTCHxjcjQ

Get curious about .net framework - work on .NET framework and enjoy benefit last 5 years; should spend 10 hours to watch the .NET framework videos. Will spend more time when I take vacation from Oct. 2 - Oct. 16, 2015

https://www.youtube.com/watch?v=ywN0vTFJNcw&list=PLnrS3jsiKkdKcChakQPJi1XdKyDt_2jPa

9/28/2015
first time using search in github, and seach Sudoku, and find some code to read:

https://github.com/dartist/sudoku_solver/blob/master/benchmark/sudoku.cs

http://norvig.com/sudoku.html

http://aspadvice.com/blogs/rbirkby/archive/2007/08/23/Silverlight-Sudoku-with-LINQ.aspx

No comments:

Post a Comment