Turn down the lights
Turn up the lights
Change Player Size
Watch this video in a new window

How To Design A Good API and Why it Matters

Google Tech Talks January 24, 2007 ABSTRACT Every day around the world, software developers spend much of their time working with a variety of Application Programming Interfaces (APIs). Some are ...  
 
Customize

More From: googletechtalks

Advanced Topics in Programming Languages: Java Puzzlers,...1:13:53
77,427 views
Learning from StackOverflow.com51:58
51,051 views
Advanced Topics in Programming Languages Series:...30:40
10,506 views
Advanced Topics in Programming Languages Series:...58:11
5,874 views
Advanced Topics In Programming Languages: Closures For Java1:55:05
25,835 views
Getting C++ Threads Right1:10:16
49,970 views
Scrum et al.1:01:04
47,046 views
Teaching Kids To Code56:31
28,129 views
The Clean Code Talks - "Global State and Singletons"54:09
16,750 views
Greg Kroah Hartman on the Linux Kernel49:25
58,256 views
How Cybercriminals Steal Money55:27
38,013 views
JavaScript: The Good Parts1:03:47
46,969 views
Changes to JavaScript, Part 1: EcmaScript 559:28
9,057 views
Advanced Topics in Programming Languages: The Java Memory...57:22
18,173 views
A New Approach to Design of Massively Parallel Systems1:00:04
6,308 views
C++ Stylistics54:57
26,158 views
JRuby: The power of Java and Ruby1:11:16
28,670 views
Theory and Practice of Cryptography54:05
22,698 views
HTML forms Next Generation53:16
3,431 views
How to Count ALL Human Carbon Emissions in the US51:16
213,670 views

QuickList(0)

105 ratings
Sign in to rate
27,405 views
Want to add to Favorites? Sign In or Sign Up now!
Want to add to Playlists? Sign In or Sign Up now!
Want to flag a video? Sign In or Sign Up now!

Statistics & Data

Loading...

Video Responses (0)

This video has no Responses. Be the first to Post a Video Response.
Sign in to post a Comment

Text Comments (10)   Options

Loading...
1Imaginstudio (1 month ago) Show Hide
 0
Marked as spam
good 1 hour
7amoodalnms (1 month ago) Show Hide
 0
Marked as spam
god 1 hour
ProgramMax (7 months ago) Show Hide
+1
Marked as spam
Great talk. I'm so glad you mentioned the importance of naming. In fact it shows up twice.

Just the other day I was asking programming friends for help with naming. I wanted to check for a win on the diagonals of a tic-tac-toe board. And I wanted a name better than "IsTopLeftBottomRightDiagonalA Win." :D

Often when I ask for naming help I'm met with "Just use that name and move on." After hearing that enough I began questioning if I was wasting my time. It's good to hear that naming IS coding.
chris69666 (5 months ago) Show Hide
 0
Marked as spam
Hrm when I get a name thats quite long that hints to me that I doing something wrong somewhere else.

"IsTopLeftBottomRightDiagonalA Win" seems unnecessarily long imo. How about i.e. CheckDiagonals
ArchitectOfEvil (4 months ago) Show Hide
 0
Marked as spam
Hmmmm.
About your problem, making a name for a function that checks for win on a tic-tac-toe board.

"IsTopLeftBottomRightDiagonalA Win."

Huh? I don't think so.

Why would you make a separate function checking each winning combination?

Wouldn't you just make one function that checks all combinations?

Anyway, the problem is in your design.
chris69666 made a good point.
abdullahrubiyath (8 months ago) Show Hide
 0
Marked as spam
great talk. Thanks for the upload.
hecatombe (1 year ago) Show Hide
+3
Marked as spam
Is possible to get slides of the presentation?
emddudley (5 months ago) Show Hide
 0
Marked as spam
The slides are available online. Just search for the title of this talk on Google--the first result is the presentation, though it doesn't contain everything shown in this video.
ovidiubuligan (1 year ago) Show Hide
 0
Marked as spam
yes indeed
donpdonp (2 years ago) Show Hide
+9
Marked as spam
Fantastic talk. Great speaker.

Would you like to comment?

Join YouTube for a free account, or sign in if you are already a member.