article

title

[WHAT]

  1. ] brackets always on the right
  2.   function(){
  3.   
  4.   function()
  5.   {
  6.  it's not necessarily a better style , its different, BUT an error in the JS language can cause problems with brackets on the left!!!
  7. ***
  8. ] switch statements can fall through
  9. - almost never happens but 
  10. - example of when he was told about this, 
  11. ***
  12. ] a good style can help produce better programs
  13. - style should NOT be about personal preference
  14. - style IS ABOUT communicating clearly
  15. - example of 
  16. ***
  17. ] programs must communicate clearly with people, not just the machine
  18. - when other developers work on the same code OR
  19. - when you come back to the same code in 6 months ... 
  20. ***
  21. ] with statement = confusion
  22. - useful, but seems it is always 'confusing', 
  23. - confusion 
  24. ***
  25. ] transitivity === NOT ==

[WHY]

[WHERE]

  1. ]

[WHEN]

  1. ]

[EXAMPLE]

  1. ]

[HOW-TO]

  1. ]

[REFERENCE]

 

Details Photos Edit more

Details

ID: 1804

NAME: REVIEW-VIDEO-douglas-crockford-programming-style

DESCRIPTION: [00:00]VIDEO -Crockford discusses javascript programming styles @HTML Developer Conference 201?

AUTHOR: article.author/s

EDITOR: article.editor/s

PUBLISHER: article.publisher/s

STATUS: Write

PRIORITY: 0

OWNER ID: 75

Content Photos Edit more

photos

page_photo

actions

Email Email-Owner SMS and