Submit Search
Upload
Readable Code Summary
•
0 likes
•
23 views
S
Shuta Tsuzuki
Follow
This slide organizes the main points of the readable code (https://g.co/kgs/97Rirh).
Read less
Read more
Engineering
Report
Share
Report
Share
1 of 73
Download now
Download to read offline
Recommended
ヒューリスティック評価を公開 ※ 株式会社GIGでは毎月社内勉強会を実施しています GIG inc. Good is good. We provide opportunities to the SEKAI by fusing technology and ideas. テクノロジーとクリエイティブでセカイをより良くする。小さなチームからスタートした多くの先人達が、世界をより豊かなモノに変革してきました。通信、UX、デバイス、技術の変化と共に世界はまだまだ加速度的に変わります。 Good is good. いいものはいい。GIGは、関わったユーザーやクライアントが前に進める“きっかけ”をつくりつづけます。 ■ お問い合せ https://giginc.co.jp/contact/
リーダブルコード
リーダブルコード
GIG inc.
リーダブルコード Part1
可読性について リーダブルコード part1(表面上の改善)
可読性について リーダブルコード part1(表面上の改善)
tak
ドメインロジックの実装方法とドメイン駆動設計
ドメインロジックの実装方法とドメイン駆動設計
Tadayoshi Sato
リーダブルコード Part4
可読性について リーダブルコード Part4(優れたテストコード1)
可読性について リーダブルコード Part4(優れたテストコード1)
tak
部内の新人研修用に作った資料です
良いコードとは
良いコードとは
Nobuyuki Matsui
リーダブルコード Part2
可読性について リーダブルコード Part2(ループとロジックの単純化)
可読性について リーダブルコード Part2(ループとロジックの単純化)
tak
Lightning talk on my Impressions of trying out svelte.
Svelte LT
Svelte LT
Shuta Tsuzuki
LT on the story of renewed web media
Media Renewal LT
Media Renewal LT
Shuta Tsuzuki
Recommended
ヒューリスティック評価を公開 ※ 株式会社GIGでは毎月社内勉強会を実施しています GIG inc. Good is good. We provide opportunities to the SEKAI by fusing technology and ideas. テクノロジーとクリエイティブでセカイをより良くする。小さなチームからスタートした多くの先人達が、世界をより豊かなモノに変革してきました。通信、UX、デバイス、技術の変化と共に世界はまだまだ加速度的に変わります。 Good is good. いいものはいい。GIGは、関わったユーザーやクライアントが前に進める“きっかけ”をつくりつづけます。 ■ お問い合せ https://giginc.co.jp/contact/
リーダブルコード
リーダブルコード
GIG inc.
リーダブルコード Part1
可読性について リーダブルコード part1(表面上の改善)
可読性について リーダブルコード part1(表面上の改善)
tak
ドメインロジックの実装方法とドメイン駆動設計
ドメインロジックの実装方法とドメイン駆動設計
Tadayoshi Sato
リーダブルコード Part4
可読性について リーダブルコード Part4(優れたテストコード1)
可読性について リーダブルコード Part4(優れたテストコード1)
tak
部内の新人研修用に作った資料です
良いコードとは
良いコードとは
Nobuyuki Matsui
リーダブルコード Part2
可読性について リーダブルコード Part2(ループとロジックの単純化)
可読性について リーダブルコード Part2(ループとロジックの単純化)
tak
Lightning talk on my Impressions of trying out svelte.
Svelte LT
Svelte LT
Shuta Tsuzuki
LT on the story of renewed web media
Media Renewal LT
Media Renewal LT
Shuta Tsuzuki
https://www.hubspot.com/state-of-marketing · Scaling relationships and proving ROI · Social media is the place for search, sales, and service · Authentic influencer partnerships fuel brand growth · The strongest connections happen via call, click, chat, and camera. · Time saved with AI leads to more creative work · Seeking: A single source of truth · TLDR; Get on social, try AI, and align your systems. · More human marketing, powered by robots
2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
Marius Sescu
ChatGPT is a revolutionary addition to the world since its introduction in 2022. A big shift in the sector of information gathering and processing happened because of this chatbot. What is the story of ChatGPT? How is the bot responding to prompts and generating contents? Swipe through these slides prepared by Expeed Software, a web development company regarding the development and technical intricacies of ChatGPT!
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Expeed Software
The realm of product design is a constantly changing environment where technology and style intersect. Every year introduces fresh challenges and exciting trends that mold the future of this captivating art form. In this piece, we delve into the significant trends set to influence the look and functionality of product design in the year 2024.
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
Pixeldarts
Mental health has been in the news quite a bit lately. Dozens of U.S. states are currently suing Meta for contributing to the youth mental health crisis by inserting addictive features into their products, while the U.S. Surgeon General is touring the nation to bring awareness to the growing epidemic of loneliness and isolation. The country has endured periods of low national morale, such as in the 1970s when high inflation and the energy crisis worsened public sentiment following the Vietnam War. The current mood, however, feels different. Gallup recently reported that national mental health is at an all-time low, with few bright spots to lift spirits. To better understand how Americans are feeling and their attitudes towards mental health in general, ThinkNow conducted a nationally representative quantitative survey of 1,500 respondents and found some interesting differences among ethnic, age and gender groups. Technology For example, 52% agree that technology and social media have a negative impact on mental health, but when broken out by race, 61% of Whites felt technology had a negative effect, and only 48% of Hispanics thought it did. While technology has helped us keep in touch with friends and family in faraway places, it appears to have degraded our ability to connect in person. Staying connected online is a double-edged sword since the same news feed that brings us pictures of the grandkids and fluffy kittens also feeds us news about the wars in Israel and Ukraine, the dysfunction in Washington, the latest mass shooting and the climate crisis. Hispanics may have a built-in defense against the isolation technology breeds, owing to their large, multigenerational households, strong social support systems, and tendency to use social media to stay connected with relatives abroad. Age and Gender When asked how individuals rate their mental health, men rate it higher than women by 11 percentage points, and Baby Boomers rank it highest at 83%, saying it’s good or excellent vs. 57% of Gen Z saying the same. Gen Z spends the most amount of time on social media, so the notion that social media negatively affects mental health appears to be correlated. Unfortunately, Gen Z is also the generation that’s least comfortable discussing mental health concerns with healthcare professionals. Only 40% of them state they’re comfortable discussing their issues with a professional compared to 60% of Millennials and 65% of Boomers. Race Affects Attitudes As seen in previous research conducted by ThinkNow, Asian Americans lag other groups when it comes to awareness of mental health issues. Twenty-four percent of Asian Americans believe that having a mental health issue is a sign of weakness compared to the 16% average for all groups. Asians are also considerably less likely to be aware of mental health services in their communities (42% vs. 55%) and most likely to seek out information on social media (51% vs. 35%).
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
This article is all about what AI trends will emerge in the field of creative operations in 2024. All the marketers and brand builders should be aware of these trends for their further use and save themselves some time!
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
How our culture helps to save energy.
Skeleton Culture Code
Skeleton Culture Code
Skeleton Technologies
Materials from Pepsico for their presentation at the 2024 CAGNY conference. Made 2/21/24
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
The deck from Contently’s popular Content Methodology webinar with Rebecca Lieb, Joe Lazauskas, and Ari Kepnes.
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
contently
Presented 1/4/2024 Visit Albert's List: https://bit.ly/findyournextjob
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Albert Qian
A report by thenetworkone and Kurio. The contributing experts and agencies are (in an alphabetical order): Sylwia Rytel, Social Media Supervisor, 180heartbeats + JUNG v MATT (PL), Sharlene Jenner, Vice President - Director of Engagement Strategy, Abelson Taylor (USA), Alex Casanovas, Digital Director, Atrevia (ES), Dora Beilin, Senior Social Strategist, Barrett Hoffher (USA), Min Seo, Campaign Director, Brand New Agency (KR), Deshé M. Gully, Associate Strategist, Day One Agency (USA), Francesca Trevisan, Strategist, Different (IT), Trevor Crossman, CX and Digital Transformation Director; Olivia Hussey, Strategic Planner; Simi Srinarula, Social Media Manager, The Hallway (AUS), James Hebbert, Managing Director, Hylink (CN / UK), Mundy Álvarez, Planning Director; Pedro Rojas, Social Media Manager; Pancho González, CCO, Inbrax (CH), Oana Oprea, Head of Digital Planning, Jam Session Agency (RO), Amy Bottrill, Social Account Director, Launch (UK), Gaby Arriaga, Founder, Leonardo1452 (MX), Shantesh S Row, Creative Director, Liwa (UAE), Rajesh Mehta, Chief Strategy Officer; Dhruv Gaur, Digital Planning Lead; Leonie Mergulhao, Account Supervisor - Social Media & PR, Medulla (IN), Aurelija Plioplytė, Head of Digital & Social, Not Perfect (LI), Daiana Khaidargaliyeva, Account Manager, Osaka Labs (UK / USA), Stefanie Söhnchen, Vice President Digital, PIABO Communications (DE), Elisabeth Winiartati, Managing Consultant, Head of Global Integrated Communications; Lydia Aprina, Account Manager, Integrated Marketing and Communications; Nita Prabowo, Account Manager, Integrated Marketing and Communications; Okhi, Web Developer, PNTR Group (ID), Kei Obusan, Insights Director; Daffi Ranandi, Insights Manager, Radarr (SG), Gautam Reghunath, Co-founder & CEO, Talented (IN), Donagh Humphreys, Head of Social and Digital Innovation, THINKHOUSE (IRE), Sarah Yim, Strategy Director, Zulu Alpha Kilo (CA).
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
The search marketing landscape is evolving rapidly with new technologies, and professionals, like you, rely on innovative paid search strategies to meet changing demands. It’s important that you’re ready to implement new strategies in 2024. Check this out and learn the top trends in paid search advertising that are expected to gain traction, so you can drive higher ROI more efficiently in 2024. You’ll learn: - The latest trends in AI and automation, and what this means for an evolving paid search ecosystem. - New developments in privacy and data regulation. - Emerging ad formats that are expected to make an impact next year. Watch Sreekant Lanka from iQuanti and Irina Klein from OneMain Financial as they dive into the future of paid search and explore the trends, strategies, and technologies that will shape the search marketing landscape. If you’re looking to assess your paid search strategy and design an industry-aligned plan for 2024, then this webinar is for you.
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
From their humble beginnings in 1984, TED has grown into the world’s most powerful amplifier for speakers and thought-leaders to share their ideas. They have over 2,400 filmed talks (not including the 30,000+ TEDx videos) freely available online, and have hosted over 17,500 events around the world. With over one billion views in a year, it’s no wonder that so many speakers are looking to TED for ideas on how to share their message more effectively. The article “5 Public-Speaking Tips TED Gives Its Speakers”, by Carmine Gallo for Forbes, gives speakers five practical ways to connect with their audience, and effectively share their ideas on stage. Whether you are gearing up to get on a TED stage yourself, or just want to master the skills that so many of their speakers possess, these tips and quotes from Chris Anderson, the TED Talks Curator, will encourage you to make the most impactful impression on your audience. See the full article and more summaries like this on SpeakerHub here: https://speakerhub.com/blog/5-presentation-tips-ted-gives-its-speakers See the original article on Forbes here: http://www.forbes.com/forbes/welcome/?toURL=http://www.forbes.com/sites/carminegallo/2016/05/06/5-public-speaking-tips-ted-gives-its-speakers/&refURL=&referrer=#5c07a8221d9b
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
Everyone is in agreement that ChatGPT (and other generative AI tools) will shape the future of work. Yet there is little consensus on exactly how, when, and to what extent this technology will change our world. Businesses that extract maximum value from ChatGPT will use it as a collaborative tool for everything from brainstorming to technical maintenance. For individuals, now is the time to pinpoint the skills the future professional will need to thrive in the AI age. Check out this presentation to understand what ChatGPT is, how it will shape the future of work, and how you can prepare to take advantage.
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
a presentation to give to a programming class on how to land a 6 figure job right out of college, and how to prepare during and after school
Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero
Lily Ray's MozCon talk from 2023 about how core updates work and how search intent plays a role.
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
Stop putting off having difficult conversations. Seven practical tips to ensure your next difficult conversation go smoothly.
How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
A brief introduction to DataScience with explaining of the concepts, algorithms, machine learning, supervised and unsupervised learning, clustering, statistics, data preprocessing, real-world applications etc. It's part of a Data Science Corner Campaign where I will be discussing the fundamentals of DataScience, AIML, Statistics etc.
Introduction to Data Science
Introduction to Data Science
Christy Abraham Joy
Here's my presentation on by proven best practices how to manage your work time effectively and how to improve your productivity. It includes practical tips and how to use tools such as Slack, Google Apps, Hubspot, Google Calendar, Gmail and others.
Time Management & Productivity - Best Practices
Time Management & Productivity - Best Practices
Vit Horky
The six step guide to practical project management If you think managing projects is too difficult, think again. We’ve stripped back project management processes to the basics – to make it quicker and easier, without sacrificing the vital ingredients for success. “If you’re looking for some real-world guidance, then The Six Step Guide to Practical Project Management will help.” Dr Andrew Makar, Tactical Project Management
The six step guide to practical project management
The six step guide to practical project management
MindGenius
A presentation for absolute beginners who have never touched TikTok and may be a bit scared of it!
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
More Related Content
Featured
https://www.hubspot.com/state-of-marketing · Scaling relationships and proving ROI · Social media is the place for search, sales, and service · Authentic influencer partnerships fuel brand growth · The strongest connections happen via call, click, chat, and camera. · Time saved with AI leads to more creative work · Seeking: A single source of truth · TLDR; Get on social, try AI, and align your systems. · More human marketing, powered by robots
2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
Marius Sescu
ChatGPT is a revolutionary addition to the world since its introduction in 2022. A big shift in the sector of information gathering and processing happened because of this chatbot. What is the story of ChatGPT? How is the bot responding to prompts and generating contents? Swipe through these slides prepared by Expeed Software, a web development company regarding the development and technical intricacies of ChatGPT!
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Expeed Software
The realm of product design is a constantly changing environment where technology and style intersect. Every year introduces fresh challenges and exciting trends that mold the future of this captivating art form. In this piece, we delve into the significant trends set to influence the look and functionality of product design in the year 2024.
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
Pixeldarts
Mental health has been in the news quite a bit lately. Dozens of U.S. states are currently suing Meta for contributing to the youth mental health crisis by inserting addictive features into their products, while the U.S. Surgeon General is touring the nation to bring awareness to the growing epidemic of loneliness and isolation. The country has endured periods of low national morale, such as in the 1970s when high inflation and the energy crisis worsened public sentiment following the Vietnam War. The current mood, however, feels different. Gallup recently reported that national mental health is at an all-time low, with few bright spots to lift spirits. To better understand how Americans are feeling and their attitudes towards mental health in general, ThinkNow conducted a nationally representative quantitative survey of 1,500 respondents and found some interesting differences among ethnic, age and gender groups. Technology For example, 52% agree that technology and social media have a negative impact on mental health, but when broken out by race, 61% of Whites felt technology had a negative effect, and only 48% of Hispanics thought it did. While technology has helped us keep in touch with friends and family in faraway places, it appears to have degraded our ability to connect in person. Staying connected online is a double-edged sword since the same news feed that brings us pictures of the grandkids and fluffy kittens also feeds us news about the wars in Israel and Ukraine, the dysfunction in Washington, the latest mass shooting and the climate crisis. Hispanics may have a built-in defense against the isolation technology breeds, owing to their large, multigenerational households, strong social support systems, and tendency to use social media to stay connected with relatives abroad. Age and Gender When asked how individuals rate their mental health, men rate it higher than women by 11 percentage points, and Baby Boomers rank it highest at 83%, saying it’s good or excellent vs. 57% of Gen Z saying the same. Gen Z spends the most amount of time on social media, so the notion that social media negatively affects mental health appears to be correlated. Unfortunately, Gen Z is also the generation that’s least comfortable discussing mental health concerns with healthcare professionals. Only 40% of them state they’re comfortable discussing their issues with a professional compared to 60% of Millennials and 65% of Boomers. Race Affects Attitudes As seen in previous research conducted by ThinkNow, Asian Americans lag other groups when it comes to awareness of mental health issues. Twenty-four percent of Asian Americans believe that having a mental health issue is a sign of weakness compared to the 16% average for all groups. Asians are also considerably less likely to be aware of mental health services in their communities (42% vs. 55%) and most likely to seek out information on social media (51% vs. 35%).
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
This article is all about what AI trends will emerge in the field of creative operations in 2024. All the marketers and brand builders should be aware of these trends for their further use and save themselves some time!
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
How our culture helps to save energy.
Skeleton Culture Code
Skeleton Culture Code
Skeleton Technologies
Materials from Pepsico for their presentation at the 2024 CAGNY conference. Made 2/21/24
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
The deck from Contently’s popular Content Methodology webinar with Rebecca Lieb, Joe Lazauskas, and Ari Kepnes.
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
contently
Presented 1/4/2024 Visit Albert's List: https://bit.ly/findyournextjob
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Albert Qian
A report by thenetworkone and Kurio. The contributing experts and agencies are (in an alphabetical order): Sylwia Rytel, Social Media Supervisor, 180heartbeats + JUNG v MATT (PL), Sharlene Jenner, Vice President - Director of Engagement Strategy, Abelson Taylor (USA), Alex Casanovas, Digital Director, Atrevia (ES), Dora Beilin, Senior Social Strategist, Barrett Hoffher (USA), Min Seo, Campaign Director, Brand New Agency (KR), Deshé M. Gully, Associate Strategist, Day One Agency (USA), Francesca Trevisan, Strategist, Different (IT), Trevor Crossman, CX and Digital Transformation Director; Olivia Hussey, Strategic Planner; Simi Srinarula, Social Media Manager, The Hallway (AUS), James Hebbert, Managing Director, Hylink (CN / UK), Mundy Álvarez, Planning Director; Pedro Rojas, Social Media Manager; Pancho González, CCO, Inbrax (CH), Oana Oprea, Head of Digital Planning, Jam Session Agency (RO), Amy Bottrill, Social Account Director, Launch (UK), Gaby Arriaga, Founder, Leonardo1452 (MX), Shantesh S Row, Creative Director, Liwa (UAE), Rajesh Mehta, Chief Strategy Officer; Dhruv Gaur, Digital Planning Lead; Leonie Mergulhao, Account Supervisor - Social Media & PR, Medulla (IN), Aurelija Plioplytė, Head of Digital & Social, Not Perfect (LI), Daiana Khaidargaliyeva, Account Manager, Osaka Labs (UK / USA), Stefanie Söhnchen, Vice President Digital, PIABO Communications (DE), Elisabeth Winiartati, Managing Consultant, Head of Global Integrated Communications; Lydia Aprina, Account Manager, Integrated Marketing and Communications; Nita Prabowo, Account Manager, Integrated Marketing and Communications; Okhi, Web Developer, PNTR Group (ID), Kei Obusan, Insights Director; Daffi Ranandi, Insights Manager, Radarr (SG), Gautam Reghunath, Co-founder & CEO, Talented (IN), Donagh Humphreys, Head of Social and Digital Innovation, THINKHOUSE (IRE), Sarah Yim, Strategy Director, Zulu Alpha Kilo (CA).
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
The search marketing landscape is evolving rapidly with new technologies, and professionals, like you, rely on innovative paid search strategies to meet changing demands. It’s important that you’re ready to implement new strategies in 2024. Check this out and learn the top trends in paid search advertising that are expected to gain traction, so you can drive higher ROI more efficiently in 2024. You’ll learn: - The latest trends in AI and automation, and what this means for an evolving paid search ecosystem. - New developments in privacy and data regulation. - Emerging ad formats that are expected to make an impact next year. Watch Sreekant Lanka from iQuanti and Irina Klein from OneMain Financial as they dive into the future of paid search and explore the trends, strategies, and technologies that will shape the search marketing landscape. If you’re looking to assess your paid search strategy and design an industry-aligned plan for 2024, then this webinar is for you.
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
From their humble beginnings in 1984, TED has grown into the world’s most powerful amplifier for speakers and thought-leaders to share their ideas. They have over 2,400 filmed talks (not including the 30,000+ TEDx videos) freely available online, and have hosted over 17,500 events around the world. With over one billion views in a year, it’s no wonder that so many speakers are looking to TED for ideas on how to share their message more effectively. The article “5 Public-Speaking Tips TED Gives Its Speakers”, by Carmine Gallo for Forbes, gives speakers five practical ways to connect with their audience, and effectively share their ideas on stage. Whether you are gearing up to get on a TED stage yourself, or just want to master the skills that so many of their speakers possess, these tips and quotes from Chris Anderson, the TED Talks Curator, will encourage you to make the most impactful impression on your audience. See the full article and more summaries like this on SpeakerHub here: https://speakerhub.com/blog/5-presentation-tips-ted-gives-its-speakers See the original article on Forbes here: http://www.forbes.com/forbes/welcome/?toURL=http://www.forbes.com/sites/carminegallo/2016/05/06/5-public-speaking-tips-ted-gives-its-speakers/&refURL=&referrer=#5c07a8221d9b
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
Everyone is in agreement that ChatGPT (and other generative AI tools) will shape the future of work. Yet there is little consensus on exactly how, when, and to what extent this technology will change our world. Businesses that extract maximum value from ChatGPT will use it as a collaborative tool for everything from brainstorming to technical maintenance. For individuals, now is the time to pinpoint the skills the future professional will need to thrive in the AI age. Check out this presentation to understand what ChatGPT is, how it will shape the future of work, and how you can prepare to take advantage.
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
a presentation to give to a programming class on how to land a 6 figure job right out of college, and how to prepare during and after school
Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero
Lily Ray's MozCon talk from 2023 about how core updates work and how search intent plays a role.
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
Stop putting off having difficult conversations. Seven practical tips to ensure your next difficult conversation go smoothly.
How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
A brief introduction to DataScience with explaining of the concepts, algorithms, machine learning, supervised and unsupervised learning, clustering, statistics, data preprocessing, real-world applications etc. It's part of a Data Science Corner Campaign where I will be discussing the fundamentals of DataScience, AIML, Statistics etc.
Introduction to Data Science
Introduction to Data Science
Christy Abraham Joy
Here's my presentation on by proven best practices how to manage your work time effectively and how to improve your productivity. It includes practical tips and how to use tools such as Slack, Google Apps, Hubspot, Google Calendar, Gmail and others.
Time Management & Productivity - Best Practices
Time Management & Productivity - Best Practices
Vit Horky
The six step guide to practical project management If you think managing projects is too difficult, think again. We’ve stripped back project management processes to the basics – to make it quicker and easier, without sacrificing the vital ingredients for success. “If you’re looking for some real-world guidance, then The Six Step Guide to Practical Project Management will help.” Dr Andrew Makar, Tactical Project Management
The six step guide to practical project management
The six step guide to practical project management
MindGenius
A presentation for absolute beginners who have never touched TikTok and may be a bit scared of it!
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
Featured
(20)
2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Product 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 Health
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
Skeleton Culture Code
Skeleton Culture Code
PEPSICO 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)
How 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 Insights
Trends 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 summary
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
Google'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
Introduction to Data Science
Introduction to Data Science
Time Management & Productivity - Best Practices
Time Management & Productivity - Best Practices
The 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...
Readable Code Summary
1.
リーダブルコード The Art of
Readable Code
2.
リーダブルコードとは ・O’REILLY発行、2012年に発売された本 ・エンジニアにとってバイブル的な良書 ・より良いコードを書くためのノウハウが書かれている ・プログラミングを始めたばかりの人が読んでも価値があるし、 ある程度経験を積んだ人が読んでも価値がある(と言われている) 全体像 ・一部:表面上の改善(関数・変数・クラス名→命名の改善) ・二部:ループロジックの単純化(制御フロー・式の分割・変数のスコープ→クラス単位での改善) ・三部:コードの再構成(オブジェクト指向、全体のロジック、API→全体の改善) ※後半にいくに連れてより上流の話になっていく ・四部:テストなど1-3部では扱いきれなかったもの(このスライドでは省略)
3.
「読みやすいコード」 に特化したテーマの本 読みやすい→理解しやすい→ 内部品質/外部品質ともに向上→ ”良い”コードへ
4.
第Ⅰ部 表面上の改善
5.
第1章 理解しやすいコード
6.
いちばん大切な原則 「理解しやすい」とは 理解にかかる時間> 短いコード 「理解しやすい」コードを書く 他の人が最短時間で理解できる 理解:変更加える/バグ発見できるレベル 理解にかかる時間を短く→コードを短く の優先順位 ポイント
7.
第2章 名前に情報を詰め込む
8.
名前をつける上で重要なこと① 「名前に情報を詰め込む」 →名前を見ただけで情報を読み取れる
9.
①明確な単語を選ぶ ②汎用的な名前を使わない ③具体的な名前を使う ポイント ⑥名前のフォーマットで情報を伝える ⑤名前の長さを決める ④接尾語や接頭辞を使って情報を追加する
10.
①情報に名前を詰め込む 1-1. 明確な単語を選ぶ 明確で正確な言い回し NG例) get →fetch、download size
→height、memoryBytes stop →kill、pause 2-1. 汎用的な名前を避ける 何にでも使える名前は避ける NG例) retval →目的や値を表すものへ tmp →一時的な情報の保存の の場合は使って良い 2-2. ループイテレータ 複数あるときは説明的な名前に ループイテレータ:i、j、kなど 説明的な名前: i →user_i、member_i、など ②汎用的な名前を使わない 参考:プログラミングでよく使う英単語のまとめ【随時更新】
11.
③具体的な名前を使う 3-1. 具体的な名前を使う 名前と目的を一致させる 日本語でいう「〇〇が」「〇〇 を」の部分を名前で表す 例) disallow_evil_constructor →disallow_copy_and_assign 4-1. 値の単位の追加 変数名に単位を入れる 例) start
→start_ms size →size_mb limit →limit_kbps delay →delay_secs angle →degrees_cw 4-2. 重要な属性の追加 意味を間違えたとき深刻な被害 が出るところに危険や注意を喚 起する情報の追加 例) データが安全でない→unsafe〇 〇、untrusted〇〇 暗号化すべき→plaintext_〇〇 ④名前に情報を追加する
12.
⑤名前の長さを決める 5-1. 名前の長さを決める いい名前= 「長い名前を避ける」 という暗黙の制約 →どこで折り合いをつけるべきか のガイドライン 5-2.
短い名前でもいい スコープが小さければ短い名前 でもいい →名前が適用されているコード の行数が小さければ、コード理 解に必要な情報がすぐそばにあ るため 5-3. 単語補完機能を使う エディタの単語補完機能を使う ことで正確な単語が入力できる 例) InteliJ IDEA →Alt-/
13.
⑤名前の長さを決める 5-4. 省略形 スラングな省略形以外は使わない 例) evaluation →evail document
→doc NG例) BackEnd →BE 5-5. 不要単語の切り捨て 削除しても問題ない単語は切り 捨てる 例) DoServeLoop →ServeLoop ConvertToString →ToString 6-1. フォーマットで伝える フォーマットの違いで情報を伝 える 例) クラス名→キャメルケース 変数名→スネークケース HTML id →スネークケース class →ケバブケース ⑥フォーマットで情報を伝える
14.
第3章 誤解されない名前
15.
名前をつける上で重要なこと② 「誤解の生まれない名前」 →積極的に誤解を探して名前をつける
16.
①例)filter()、Clip() ②限界値、範囲、排他的範囲、ブール値 ポイント ④複数の名前の検討 ③ユーザーの期待に合わせる
17.
①例)filter()、Clip() 1-1. 例1)filter() あいまいな言葉 -選択か除外か分からない 例) 選択→select() 除外→exclude() 1-2. 例2)clip() あいまいな言葉 -動作が特定できない 例) 最後の文字から削除→remove 最大文字まで切り詰め→truncate
18.
②限界値/範囲/排他的範囲/ブール値 2-1. 限界値 限界値を含めるとき(~以上、~ 以下) →minとmaxを使う 例) max_〇〇 min_〇〇 2-2. 範囲 範囲を示すもの →firstとlastを使う (min、maxでも良い) 例) set.PrintKeys(first="a", last="e") print
int_rang(min=2, max=4) 2-3. 包含/排他的範囲 最初は含むが最後の要素は含ま ないもの →beginとendを使う 例) 何時から何時まで開催など
19.
②限界値/範囲/排他的範囲/ブール値 2-4. ブール値 ブール値を返す関数 →trueとfalseの意味が通るよう な名前にする 例) is、has、can、shouldなどを つけて分かりやすく 3-1. ユーザーの期待 エンジニア業界のスラングを理解して 名前に反映させる 例) get()
、〇〇.list()、〇〇size() →軽量なメソッド generate〇〇()、〇〇.countSize() →重量なメソッド ③ユーザーの期待に合わせる ④複数の名前の検討 4-1. 複数の名前の検討 類義語を調べて比較する →適切な名前を選ぶ
20.
第4章 美しさ
21.
コードの「美しさ」の改善 優れたソースコードは「目に優しい」 →ほとんどの時間はコードを読む時間
22.
3つの原則 ①読み手が慣れてるパターン 一貫性のあるレイアウト ②似ているコードは 似ているように見せる ③関連するコードを まとめてブロックにする →一貫性のあるスタイルは 「正しい」スタイルより大切 ポイント
23.
①一貫性のあるレイアウト 1-1. 一貫性のある改行位置 改行位置はコード全体を通して 同じ位置にする →全体のシルエット的に見やす いコードにする 1-2. 一貫性のある並び 一連のコードでは同じ並び順に する 1-3.
シルエットの統一 複数のコードブロックで同じよ うなことをしていたら、シルエ ットも同じようなものにする
24.
②列の整理 2-1. メソッドを使った整列 メソッドに処理をまとめること で、コードが見やすくなる場合 がある 2-2. 縦の線をまっすぐに 縦の線を揃えることでタイプミ スを見つけやすい、楽に流し読 みできる
25.
③ブロック分け 3-1. 宣言をブロックにまとめる 単位を作ってブロックにまとめる 例) // ユーザーの友達取得 friends
= user.friends() // メールアドレスのインポート contacts = import_contacts(user.emai) 3-2. 段落に分割する コードを段落分けする →空行を使って、ブロックを論 理的な段落に分ける
26.
第5章 コメントすべきことを 知る
27.
コメントの目的 →コードの意図を,読み手にわかりやすく,で きるだけ短時間で伝えること
28.
①コードからすぐにわかること ②ひどい命名やコードを補うためのコメント →コメントで補うのではなく,コードを直 せ! コメント すべきで ないこと
29.
①実装中の自分の考えや気付き ②読み手の理解を促進するためのメモ コメント すべきこと
30.
①自分の考えや気付き 1-1. 採用理由 1-2.
開発中の気付き 開発中に気付いた欠陥などを, 「Todo:」,「Fix:」を使っ てメモしておく(チームで事前 に統一しておく) 他にも実装方法やライブラリが ある中,なぜ他の方法ではな く,この手法を採用しているの か 1-3. 定数の設定理由 定数や値の設定理由 ex)なぜこのリストは1000まで 入るようにしているのか,など
31.
②読み手の理解を促進するためのメモ 2-1. 詰まりそうな箇所 2-2.
プログラムの概要 ファイルやクラスには全体像を コメント ex)これは〇〇をするためのクラ スです,使い方は△です 読み手が「えっ?」っとなりそ うなところをあらかじめ予想し て,コメントで書いておく 2-3. ロジックの説明 ロジックは改行を入れるなどし てブロックに分け,各ブロック にはコメントを付けて概要を補 足 //ユーザーID取得 //IDを用いてDBからデータ取得
32.
第6章 コメントは正確で簡潔に
33.
伝えたい内容が齟齬なく, 的確に伝わるようなコメントを書け
34.
①コメントは領域に対する情報の比率が高く なければならない ②情報密度の高い言葉を使う(専門用語、コ ンピュータ用語) ポイント
35.
コメントの情報密度を 高めるために 1-1.代名詞は使わない データをキャッシュに入れる.ただ し,先に”その”サイズをチェックす る →データ?キャッシュ? 1-2. 動作を正確に記述 //このファイルに含まれる行数 を返す ↓ //このファイルに含まれる改行 文字('/n')を数える 1-3. 専門用語を用いる 抽象度を下げるために,コンピ ュータの専門用語を用いる ・ヒューリスティック ・ブルートフォース ・ナイーブソリューション
36.
第Ⅱ部 ループとロジックの単純化
37.
第7章 制御フローを読みやすく
38.
制御フローを読みやすく 制御フロー= 条件式やループ →制御フローがないor自然なコードは読みやすい
39.
①条件式の引数の並び順 ②if/elseのルール ③三項演算子、do/whileループ、goto ④ネストを浅くする ⑤早めに返す ⑥実行の流れを追いやすく ポイント
40.
①条件式の引数の並び順 1-1. 条件式の引数 左:調査対象(~はの部分) 右:比較対象 例) if(length >=10)
→◯ if(10 <= length) →× 2-1. if/elseのルール ①肯定形> 非定形 - !はなるべく使わない ②単純な条件を先へ -ifとelseが同じ画面に表示される ③目立つ条件を先へ ②if/elseのルール
41.
③三項演算子、do/whileループ、goto 3-1. 三項演算子 三項演算子は基本使わない (条件? a
: b) →1行で書いた方が読みやすい 場合のみ使う 3-2. do/whileループ do/whileループは基本使わない →whileループで書く 3-3. goto gotoは基本使わない →普通のループに置き換える
42.
④ネストを浅くする 4-1. ネストを浅くする ネストの深いコードは読みにくい →1つのネスト内に書くコードは なるべく簡潔になるようにする。 4-2. ループ内部のネストの削除 ループ内部でネストしているコー ドは読みにくい →書き方変える/ループを分ける。 ⑤早めに返す 5-1.
早めに返す 関数で早めに返してあげると、 ネストを削除したりコードをク リーンにしたりできる。
43.
⑥実行の流れを追いやすく 6-1. 実行の流れを追えるか 実行の流れを追いやすいコード を書く →追うのが難しくなる構成要素 をなるべく少なくする。 例) スレッド、シグナル/組み込み ハンドラ、無名関数、仮想メソ ッド 6-2. 新鮮な目で見る 変更を加えるときはコードを新 鮮な目で見る →書いている人にとっては簡潔 な変更でも初めて見た人には分 かりづらいときがある。
44.
第8章 巨大な式を分割する
45.
巨大な式の分割 コードの式が大きいと理解が難しい →コードの「塊」は読みやすい大きさに分割する
46.
①説明変数 ②要約変数 ③ド・モルガンの法則 ④短絡評価 ポイント
47.
①説明変数 1-1. 説明変数 式の意味を説明する変数 例) if line.split[0].strip()
== "root": ↓ username = line.split[0].strip() if username == "root": 1-2. 要約変数 式を代入しておく変数 →大きなコードの塊は変数に代 入すると読みやすくなる 例) if(request.user.id == document.owner_id) ↓ user_owns_document = ... ②要約変数
48.
③ド・モルガン法則 3-1. ド・モルガン法則 not(a or
b or c) ⇅ (not a) and (not b) and (not c) not(a and b and c) ⇅ (not a) or (not b) or (not c) notを分配してand/orを反転させる 4-1. 短略評価 短略評価: 論理演算子(&&, ||)は左辺を評 価した時点で式全体の真偽値が 決定し右辺を評価する必要がな いもの →長すぎる式の場合は、変数を 使って分割する ④短絡評価
49.
第9章 変数と読みやすさ
50.
変数は必要な場合のみ定義する 変数のスコープはできる限り小さく する
51.
①変数を削除する ②変数のスコープを小さくする ③変数は一度だけ書き込む ポイント
52.
①変数を削除する 1-1. 役に立たない一時変数 now =
datetime.datetime.now() root_message.last_view_time = now ←nowっていう一時変数いらない 直接代入しちゃえばいい 1-2. 制御フロー変数の削除 boolean done= false; while(条件&& !done){ → ... if(...) { done=true; continue; } } 制御フロー変数doneの削除 while(条件){ ... if(...) { break; } }
53.
②変数のスコープを小さく する(変数はできる限り近 くで宣言する) 2-1. グローバル変数 色々なところから値が変更され てプログラムが複雑になり、処 理の流れを追いづらくなる 問題があったときに原因が何な のか特定しづらくなる 想定外のところで値が変更され てしまう 極力使用を避ける 2-2. インスタンス変数 関数の引数で足りるデータ をインスタンス変数にしな い 加工した値をインスタンス 変数に保持しない プログラムで取得できる情 報をインスタンス変数に保 持しない 必要になったときに,使う直前で初 めて定義して、スコープを最小にす るよう心がける。 説明変数は積極的に使って良い 2-3.
ローカル変数 参考:qiita「良いコードの書き方」
54.
③変数は一度だけ書き込む 3-1. 1度だけ書き込む 変数の値が変わると,その経過を追 跡しなければならない→読みにくい 3-2. constとfinal 可能であれば,積極的にconstや finalなどのイミュータブルな宣言を 行う
55.
第Ⅲ部 コードの再構成
56.
第10章 無関係の下位問題を抽出する
57.
汎用コードを分離する プロジェクト固有のコードから汎用コードを分離
58.
①プロジェクト固有のコードから汎用コードを分離する 理由: 1.呼び出し側のコードが簡潔になる 2.再利用できる 3.改善が楽になる ②純粋なユーティリティコード -プログラムの核となる基本的なタスクは汎用コードと して分離する 例)ファイルの読み込み、ハッシュテーブルの使用 ポイント
59.
第11章 一度に1つのことを
60.
1つずつタスクを行うようにする 一度に複数のことをするコードは理解しにくい
61.
①やり方 1.コードが行なっている「タスク」を全て列挙 2.タスクをできるだけ異なる関数/クラスへ分割する ②例 ・変数への代入 ・関数の分割(1度に1つのことを行う) ・クラスの分割 ・ディレクトリ構成 ポイント
62.
第12章 コードに思いを込める
63.
コードを書く前に,プログラムの ことを簡単な言葉で説明する ソースコードはプログラムの動作を説明する 最も大切な手段 →できる限り簡潔でわかりやすく書くべき
64.
①ロジックを明確に説明する ②その説明に合わせてコードを書く ポイント
65.
①ロジックを明確に説明する いきなりプログラムを書き始め るのではなく,まずは自分が実 装したいロジックを,簡潔な言 葉で説明してみる (コメントで書くのもあり) 1-2. ラバーダッキング 自分が実装しようとしていること を,アヒルのおもちゃやクマの人 形に向かって説明してみる →プログラムのを言葉にすること で,ロジックが整理され,明確な 形になる 1-1.簡潔な言葉で説明
66.
「権限あり/なし」,「時間/銘柄/価 格」など,ロジックを構成する上で重要 となりそうなキーワードに着目する 2-2. 簡潔にコードを書く ロジックの説明を実装する再,難 しい/不自然なコードではなく, 他者が読みやすいよう,できるだ け簡潔で自然なコードを書く ②説明に合わせてコードを書く 2-1. キーワードやフレーズ に注目する 2-3.
ライブラリを知る 簡潔なコードを書くために,ライ ブラリが何を提供してくれてるか を知ることが欠かせない.ライブ ラリの内容を知る時間を作り,実 際に利用する
67.
第13章 短いコードを書く
68.
冒険.興奮. ジェダイはそんなものを求めては おらん 新しいコードにはテストや保守が必要 →新しいコードは極力書かないようにすべき
69.
①不必要な機能をプロダクトから削除する ②最も簡単に要求を満たす実装を考える ③コードを小さく保つ ポイント
70.
①不必要な機能をプロダクトから 削除する 1-1.必要機能の見積もり プロジェクトを開始するときに は,カッコいい機能のことを考 え,そしてプロダクトに書かせ ない機能を過剰に見積もりがち 1-2. 実装労力の過小評価 プログラマは, ・実装コスト ・保守/文章化コスト を過小評価しがち 1-3. ミニマル 不必要な機能をプロダクトから削 除する.過剰な機能は持たせな い.ミニマルなプロダクトを維持 sする
71.
2-1. 要求の正しい評価 すべてのプログラムが,高速 で,100%正しくて,あらゆる ケースをうまく処理できる必要 はない.どの程度の要求を満た せばいいのか,実装前に適切に 評価する 2-2. 最も簡単なプログラム 要求を正しく見積もった上で,そ の要求を満たす最もシンプルで簡 単なプログラムを実装する.難し いロジックを組む必要はない ②最も簡単に要求を満たす実装 方法を考える
72.
3-1. ユーティリティ化 重複コードを汎用的な「ユーテ ィリティコード」にする ≒オブジェクト指向 3-2. コードの削除 「コードをせっかく書いたから, 削除したくない」そんなのどうで もいいんだよ! 未使用のコードは無用の機能はど んどん削除しよう ③コードを小さく保つ 3-3.
外部リソースの利用 - 言語の標準ライブラリ - 外部API - Unixコード を用い,コード量を減らす "たまには標準ライブラリのすべ ての関数を15分かけて読んでみ ろ!"
73.
(参考)平均的なソフトウェアエンジニアが 1日に書く”出荷用の”コードは10行程度 →設計・デバッグ・修正・テストを生き延びるコ ードの数は多くない ⇔成熟したライブラリのコードはこの試練を生き 延びたコード →ライブラリを使おう!!
Download now