SlideShare uma empresa Scribd logo
1 de 41
(        )

2010.07.16
       2010
•         (@ukstudio)

•               Rails

•   (86     )
• WEB+DB Vol.56
    http://amzn.to/d0oiL8
•
=
http://ja.wikipedia.org/wiki/
?
1.
2.
?
?
why?
オブラブ夏2010

Mais conteúdo relacionado

Destaque

Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 

Destaque (20)

Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 

オブラブ夏2010

Notas do Editor

  1. 今年からフリーランス。お仕事ください
  2. 新人向け。この内容がベースだけど読んでなくても問題なし。興味あればご購入を。
  3. 今日の主題
  4. きれいなコードを書こうというからには何らかの理由があるはず。それはなにか。
  5. 言語って言われてるぐらいだから言語。
  6. 「コミニュケーション」
  7. コミニュケーションと言うからには1人では出来ない。対話する相手が必ず存在する。
  8. そのうち1人は言語処理系。プログラマは自分が実現したいことをプログラミング言語によって言語処理系(コンピューター)に伝える。
  9. 言語処理系はとても真面目なので読みやすかろうか、読みにくかろうか文句言わずに実行してくれる。
  10. もう1つは人。仕事のメンバーだったり、オープンソースだったら世界中のプログラマだったり。更に言うと、数日以降の自分も含む。
  11. 正しいというよりは間違いではない
  12. 「綺麗な顔してるだろ。死んでるんだぜ・・・こいつ。」どんなにきれいでも死んでては意味がない。
  13. プログラマが疲れると、いいものは出来ない。結局のところ、ソフトウェアを作りあげるのは誰でもない、プログラマである。
  14. 読みやすさとは別の軸での「きれい」なコード。
  15. あくまで経験則だが、大抵この法則はあてはまるように思う。読みやすいコードも変更しやすいコードも、書いたプログラマがそれなりに時間をかけて丁寧に書いてある可能性が高いため。
  16. 是とも非とも。芸術は一種の自己表現だと思ってる。コード・ソフトウェアで自分を表現することは可能。しかし仕事のコードは自己表現の場ではない。
  17. じゃあ、その様なコードを書くためにはどうしたらいいのか。
  18. あとは、最初に紹介したWEB+DBも読んでもらえれば有り難い。
  19. 基本はやはりこれ。先程紹介した本もたくさんのサンプルが載っているが、それを自分で書いてみたり、修正してみたりするのが大事。
  20. 最近は書きよりこちらの方を重視している。ただ、どちら一方が大事というわけではなく、それぞれ補完する関係にあるので、読めばいい、書けばいいというものではない。
  21. 基本的には興味あるものを読むのが一番いい。仕事に直結しているものだと、成果がわかりやすくモチベ保てるかも。汚いコードも多いが、それはそれで「自分ではこう書くのに」という視点で読める。
  22. そのうち自然とわかると思う。「自分の理解が足りない」=「わからない」=「悪いコード」という考えには注意。自分もまだまだ自信を持って「これは良いコード」と言い切れない。
  23. 何故こういうコードを書いたのか。別の解ではいけない理由はなにか? ただの手抜きなのか、時間的な理由か。
  24. 個人的にコードを読むことと本を読むことは共通していることが多いように思う。ここで言う本は文学とかの「娯楽本」ではなく、知識・理論を得て実践できるような本。オススメ。
  25. 基本的には好きなことを書けばいいと思う。
  26. とは言え、あるコードを継続的に改良していくのも重要。リファクタリングなどの感覚はこの辺で掴みやすい。
  27. 大規模は言いすぎだけど、規模が大きい方が得るものは多いとは思う。ただ、普段のコードでそんなに大きいコードを書くかどうかは微妙。「継続的・規模」共になにかサービス・アプリを作るのが一番いいのかもしれない。
  28. 読みにも繋がるが、コードを読んだらそれを写経するのも良い。特に技術書系のサンプルコードは自分で書いて、検討して、初めて理解できることも多い。また、書いてこそその著者が正しいかわかる。あまり読み書きをわける必要はないんじゃないか。
  29. 「何が良いかは時期によっても違うし、人によっても違う」(ex.コメント) 結局のところ、何が良いか判断するのは自分なので、「何故、自分がこれが良いと思っているか」「何故これが良いとされているのか」という意識が大事。
  30. 昨日よりきれいなコードが書けた。明日はもっときれいなコードを書きたい。陸上とかスポーツをしていた人はこの楽しみはわかりやすいかもしれない。こういうモチベを持つのがコード上達の一番の秘訣なのかなとも思う。別に承認欲でもいい。(人に褒められるとか)。