SlideShare une entreprise Scribd logo
1  sur  11
Télécharger pour lire hors ligne
freeCodeCamp Tokyo
#18 2016/07/20
@ Fork Inc.
Welcome to freeCodeCamp
Tokyo meetup!
Who am I?
Tanoue Kenta
Web Programmer
Ruby on Rails
Rust
React
“Less is more”
What is freeCodeCamp?
Today's schedule
19:00~ Opening
19:10~ Pair programming
19:40~ Presentation
20:00~ Drinking party 🍺 (fee: 500 yen)
Pair programming
Design quality Learning
Two programmers work together at
one workstation.
One, the driver, writes code
while the other, the navigator,
reviews each line of code as it is
typed in.
https://en.wikipedia.org/wiki/Pair_programming
Better code (in my opinion)
Readability
Maintainability
var i = 5
What does “i” variable means?
function calMaxAndExcludeOddNumbersInArr(arr)
Too many roles!
Modern Javascript (ES2015)
Better code part2
https://github.com/metagrover/ES6-for-humans
https://babeljs.io/docs/learn-es2015/
Arrows
var plus = (x, y) => { return x + y; };
Classes
class Human {
constructor(name) { this.name = name; }
}
Array Spread
function f(x, ...y) {
return x * y.length;
}
f(3, "hello", true) == 6
• Array Map, Filter, Reduce (Functional Programming)
Better code part3
MAP Filter Reduce
Array Map, Filter and Reduce in JS | Aten Design Group http://atendesigngroup.com/blog/array-map-filter-and-reduce-js
Today’s challenges
Return Largest Numbers in Arrays
https://www.freecodecamp.com/challenges/return-largest-
numbers-in-arrays
DNA Pairing
https://www.freecodecamp.com/challenges/dna-pairing
Have a nice code!
sample code
Return Largest Numbers in Arrays
https://gist.github.com/regonn/
768c63fed15f6b728ef1d78acb949c52
DNA Pairing
https://gist.github.com/regonn/
460f6fb826a4bb94f3fc4f2468fa027a

Contenu connexe

En vedette

ビッグデータ解析
ビッグデータ解析ビッグデータ解析
ビッグデータ解析健太 田上
 
サテライトラブ
サテライトラブサテライトラブ
サテライトラブ健太 田上
 
Rails composerでrails newを楽にしよう
Rails composerでrails newを楽にしようRails composerでrails newを楽にしよう
Rails composerでrails newを楽にしよう健太 田上
 
プログラミング初心者に ECMAScript(JavaScript) を最初の言語として勧めるべき? Meguro es6
プログラミング初心者に ECMAScript(JavaScript) を最初の言語として勧めるべき? Meguro es6プログラミング初心者に ECMAScript(JavaScript) を最初の言語として勧めるべき? Meguro es6
プログラミング初心者に ECMAScript(JavaScript) を最初の言語として勧めるべき? Meguro es6健太 田上
 
3. simple present tense 1
3. simple present tense 13. simple present tense 1
3. simple present tense 1Jorge Zavarce
 
Using The Legislative Process to Further Your Business
Using The Legislative Process to Further Your BusinessUsing The Legislative Process to Further Your Business
Using The Legislative Process to Further Your BusinessParsons Behle & Latimer
 
Trong hoa lan ho diep
Trong hoa lan ho diepTrong hoa lan ho diep
Trong hoa lan ho diepseophuong
 
Why You Should Team Up and Make Friends: Your Professional Responsibilities W...
Why You Should Team Up and Make Friends: Your Professional Responsibilities W...Why You Should Team Up and Make Friends: Your Professional Responsibilities W...
Why You Should Team Up and Make Friends: Your Professional Responsibilities W...Parsons Behle & Latimer
 
Law of non resistance all stories
Law of non resistance all storiesLaw of non resistance all stories
Law of non resistance all storiesNeel Bajpai
 
Praktikum5 komdat_SHARE FILE DARI KOMPUTER HOST KE GUEST
Praktikum5 komdat_SHARE FILE DARI KOMPUTER HOST KE GUESTPraktikum5 komdat_SHARE FILE DARI KOMPUTER HOST KE GUEST
Praktikum5 komdat_SHARE FILE DARI KOMPUTER HOST KE GUESTJefri Fahrian
 
Prakt.jarkom2 jefri tugas5 ospf topology mesh
Prakt.jarkom2 jefri tugas5 ospf topology meshPrakt.jarkom2 jefri tugas5 ospf topology mesh
Prakt.jarkom2 jefri tugas5 ospf topology meshJefri Fahrian
 
Kelompok 4 fismod rustam
Kelompok 4 fismod rustamKelompok 4 fismod rustam
Kelompok 4 fismod rustamRustam Wabula
 
Destination 100%: The evolutionary journey to a total quality concept in the ...
Destination 100%: The evolutionary journey to a total quality concept in the ...Destination 100%: The evolutionary journey to a total quality concept in the ...
Destination 100%: The evolutionary journey to a total quality concept in the ...HML Ltd
 

En vedette (19)

ビッグデータ解析
ビッグデータ解析ビッグデータ解析
ビッグデータ解析
 
サテライトラブ
サテライトラブサテライトラブ
サテライトラブ
 
Rails composerでrails newを楽にしよう
Rails composerでrails newを楽にしようRails composerでrails newを楽にしよう
Rails composerでrails newを楽にしよう
 
プログラミング初心者に ECMAScript(JavaScript) を最初の言語として勧めるべき? Meguro es6
プログラミング初心者に ECMAScript(JavaScript) を最初の言語として勧めるべき? Meguro es6プログラミング初心者に ECMAScript(JavaScript) を最初の言語として勧めるべき? Meguro es6
プログラミング初心者に ECMAScript(JavaScript) を最初の言語として勧めるべき? Meguro es6
 
Rust言語
Rust言語Rust言語
Rust言語
 
3. simple present tense 1
3. simple present tense 13. simple present tense 1
3. simple present tense 1
 
Santí Serra Camps
Santí Serra CampsSantí Serra Camps
Santí Serra Camps
 
Using The Legislative Process to Further Your Business
Using The Legislative Process to Further Your BusinessUsing The Legislative Process to Further Your Business
Using The Legislative Process to Further Your Business
 
2012 Utah Legislative Session Wrapup
2012 Utah Legislative Session Wrapup2012 Utah Legislative Session Wrapup
2012 Utah Legislative Session Wrapup
 
Notes on Mobile UX
Notes on Mobile UXNotes on Mobile UX
Notes on Mobile UX
 
Trong hoa lan ho diep
Trong hoa lan ho diepTrong hoa lan ho diep
Trong hoa lan ho diep
 
Why You Should Team Up and Make Friends: Your Professional Responsibilities W...
Why You Should Team Up and Make Friends: Your Professional Responsibilities W...Why You Should Team Up and Make Friends: Your Professional Responsibilities W...
Why You Should Team Up and Make Friends: Your Professional Responsibilities W...
 
Law of non resistance all stories
Law of non resistance all storiesLaw of non resistance all stories
Law of non resistance all stories
 
Praktikum5 komdat_SHARE FILE DARI KOMPUTER HOST KE GUEST
Praktikum5 komdat_SHARE FILE DARI KOMPUTER HOST KE GUESTPraktikum5 komdat_SHARE FILE DARI KOMPUTER HOST KE GUEST
Praktikum5 komdat_SHARE FILE DARI KOMPUTER HOST KE GUEST
 
Redis: no solo una caché
Redis: no solo una cachéRedis: no solo una caché
Redis: no solo una caché
 
Prakt.jarkom2 jefri tugas5 ospf topology mesh
Prakt.jarkom2 jefri tugas5 ospf topology meshPrakt.jarkom2 jefri tugas5 ospf topology mesh
Prakt.jarkom2 jefri tugas5 ospf topology mesh
 
Kelompok 4 fismod rustam
Kelompok 4 fismod rustamKelompok 4 fismod rustam
Kelompok 4 fismod rustam
 
Destination 100%: The evolutionary journey to a total quality concept in the ...
Destination 100%: The evolutionary journey to a total quality concept in the ...Destination 100%: The evolutionary journey to a total quality concept in the ...
Destination 100%: The evolutionary journey to a total quality concept in the ...
 
Алсу
АлсуАлсу
Алсу
 

Similaire à freeCodeCamp Tokyo Meetup #18

"Generating Types without climbing a tree", Matteo Collina
"Generating Types without climbing a tree", Matteo Collina "Generating Types without climbing a tree", Matteo Collina
"Generating Types without climbing a tree", Matteo Collina Fwdays
 
Introduction to Angular for .NET Developers
Introduction to Angular for .NET DevelopersIntroduction to Angular for .NET Developers
Introduction to Angular for .NET DevelopersLaurent Duveau
 
Introduction to Angular with TypeScript for .NET Developers
Introduction to Angular with TypeScript for .NET DevelopersIntroduction to Angular with TypeScript for .NET Developers
Introduction to Angular with TypeScript for .NET DevelopersLaurent Duveau
 
Crystal internals (part 1)
Crystal internals (part 1)Crystal internals (part 1)
Crystal internals (part 1)Ary Borenszweig
 
Crystal internals (part 1)
Crystal internals (part 1)Crystal internals (part 1)
Crystal internals (part 1)Ary Borenszweig
 
Crystal internals (part 1)
Crystal internals (part 1)Crystal internals (part 1)
Crystal internals (part 1)Crystal Language
 
Introduction to Angular for .NET Developers
Introduction to Angular for .NET DevelopersIntroduction to Angular for .NET Developers
Introduction to Angular for .NET DevelopersLaurent Duveau
 
Introduction to Angular for .NET Developers
Introduction to Angular for .NET DevelopersIntroduction to Angular for .NET Developers
Introduction to Angular for .NET DevelopersLaurent Duveau
 
Reactive web applications using MeteorJS
Reactive web applications using MeteorJSReactive web applications using MeteorJS
Reactive web applications using MeteorJSNodeXperts
 
How to Lose Functional Programming at Work
How to Lose Functional Programming at WorkHow to Lose Functional Programming at Work
How to Lose Functional Programming at WorkRobert Pearce
 
ConFoo Montreal - Microservices for building an IDE - The innards of JetBrain...
ConFoo Montreal - Microservices for building an IDE - The innards of JetBrain...ConFoo Montreal - Microservices for building an IDE - The innards of JetBrain...
ConFoo Montreal - Microservices for building an IDE - The innards of JetBrain...Maarten Balliauw
 
PySpark with Juypter
PySpark with JuypterPySpark with Juypter
PySpark with JuypterLi Ming Tsai
 
Developing Rich Internet Applications with Perl and JavaScript
Developing Rich Internet Applications with Perl and JavaScriptDeveloping Rich Internet Applications with Perl and JavaScript
Developing Rich Internet Applications with Perl and JavaScriptnohuhu
 
NDC Sydney 2019 - Microservices for building an IDE – The innards of JetBrain...
NDC Sydney 2019 - Microservices for building an IDE – The innards of JetBrain...NDC Sydney 2019 - Microservices for building an IDE – The innards of JetBrain...
NDC Sydney 2019 - Microservices for building an IDE – The innards of JetBrain...Maarten Balliauw
 
Try! Swift Tokyo2017
Try! Swift Tokyo2017Try! Swift Tokyo2017
Try! Swift Tokyo2017Amy Cheong
 
TechDays - IronRuby
TechDays - IronRubyTechDays - IronRuby
TechDays - IronRubyBen Hall
 
Angular2 & Native Script GDG DevFest 2016
Angular2 & Native Script GDG DevFest 2016Angular2 & Native Script GDG DevFest 2016
Angular2 & Native Script GDG DevFest 2016Luciano Murruni
 
Pair programming
Pair programmingPair programming
Pair programmingFrank Sons
 

Similaire à freeCodeCamp Tokyo Meetup #18 (20)

"Generating Types without climbing a tree", Matteo Collina
"Generating Types without climbing a tree", Matteo Collina "Generating Types without climbing a tree", Matteo Collina
"Generating Types without climbing a tree", Matteo Collina
 
Introduction to Angular for .NET Developers
Introduction to Angular for .NET DevelopersIntroduction to Angular for .NET Developers
Introduction to Angular for .NET Developers
 
Introduction to Angular with TypeScript for .NET Developers
Introduction to Angular with TypeScript for .NET DevelopersIntroduction to Angular with TypeScript for .NET Developers
Introduction to Angular with TypeScript for .NET Developers
 
Crystal internals (part 1)
Crystal internals (part 1)Crystal internals (part 1)
Crystal internals (part 1)
 
Crystal internals (part 1)
Crystal internals (part 1)Crystal internals (part 1)
Crystal internals (part 1)
 
Crystal internals (part 1)
Crystal internals (part 1)Crystal internals (part 1)
Crystal internals (part 1)
 
Introduction to Angular for .NET Developers
Introduction to Angular for .NET DevelopersIntroduction to Angular for .NET Developers
Introduction to Angular for .NET Developers
 
Introduction to Angular for .NET Developers
Introduction to Angular for .NET DevelopersIntroduction to Angular for .NET Developers
Introduction to Angular for .NET Developers
 
Reactive web applications using MeteorJS
Reactive web applications using MeteorJSReactive web applications using MeteorJS
Reactive web applications using MeteorJS
 
How to Lose Functional Programming at Work
How to Lose Functional Programming at WorkHow to Lose Functional Programming at Work
How to Lose Functional Programming at Work
 
ConFoo Montreal - Microservices for building an IDE - The innards of JetBrain...
ConFoo Montreal - Microservices for building an IDE - The innards of JetBrain...ConFoo Montreal - Microservices for building an IDE - The innards of JetBrain...
ConFoo Montreal - Microservices for building an IDE - The innards of JetBrain...
 
PySpark with Juypter
PySpark with JuypterPySpark with Juypter
PySpark with Juypter
 
Rcpp
RcppRcpp
Rcpp
 
Developing Rich Internet Applications with Perl and JavaScript
Developing Rich Internet Applications with Perl and JavaScriptDeveloping Rich Internet Applications with Perl and JavaScript
Developing Rich Internet Applications with Perl and JavaScript
 
NDC Sydney 2019 - Microservices for building an IDE – The innards of JetBrain...
NDC Sydney 2019 - Microservices for building an IDE – The innards of JetBrain...NDC Sydney 2019 - Microservices for building an IDE – The innards of JetBrain...
NDC Sydney 2019 - Microservices for building an IDE – The innards of JetBrain...
 
Try! Swift Tokyo2017
Try! Swift Tokyo2017Try! Swift Tokyo2017
Try! Swift Tokyo2017
 
TechDays - IronRuby
TechDays - IronRubyTechDays - IronRuby
TechDays - IronRuby
 
Angular2 & Native Script GDG DevFest 2016
Angular2 & Native Script GDG DevFest 2016Angular2 & Native Script GDG DevFest 2016
Angular2 & Native Script GDG DevFest 2016
 
Go Serverless with AWS Lambda and Apex
Go Serverless with AWS Lambda and ApexGo Serverless with AWS Lambda and Apex
Go Serverless with AWS Lambda and Apex
 
Pair programming
Pair programmingPair programming
Pair programming
 

Dernier

OpenShift Commons Paris - Choose Your Own Observability Adventure
OpenShift Commons Paris - Choose Your Own Observability AdventureOpenShift Commons Paris - Choose Your Own Observability Adventure
OpenShift Commons Paris - Choose Your Own Observability AdventureEric D. Schabell
 
Introduction to Matsuo Laboratory (ENG).pptx
Introduction to Matsuo Laboratory (ENG).pptxIntroduction to Matsuo Laboratory (ENG).pptx
Introduction to Matsuo Laboratory (ENG).pptxMatsuo Lab
 
UiPath Studio Web workshop series - Day 6
UiPath Studio Web workshop series - Day 6UiPath Studio Web workshop series - Day 6
UiPath Studio Web workshop series - Day 6DianaGray10
 
Igniting Next Level Productivity with AI-Infused Data Integration Workflows
Igniting Next Level Productivity with AI-Infused Data Integration WorkflowsIgniting Next Level Productivity with AI-Infused Data Integration Workflows
Igniting Next Level Productivity with AI-Infused Data Integration WorkflowsSafe Software
 
Artificial Intelligence & SEO Trends for 2024
Artificial Intelligence & SEO Trends for 2024Artificial Intelligence & SEO Trends for 2024
Artificial Intelligence & SEO Trends for 2024D Cloud Solutions
 
UiPath Solutions Management Preview - Northern CA Chapter - March 22.pdf
UiPath Solutions Management Preview - Northern CA Chapter - March 22.pdfUiPath Solutions Management Preview - Northern CA Chapter - March 22.pdf
UiPath Solutions Management Preview - Northern CA Chapter - March 22.pdfDianaGray10
 
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...Will Schroeder
 
Designing A Time bound resource download URL
Designing A Time bound resource download URLDesigning A Time bound resource download URL
Designing A Time bound resource download URLRuncy Oommen
 
activity_diagram_combine_v4_20190827.pdfactivity_diagram_combine_v4_20190827.pdf
activity_diagram_combine_v4_20190827.pdfactivity_diagram_combine_v4_20190827.pdfactivity_diagram_combine_v4_20190827.pdfactivity_diagram_combine_v4_20190827.pdf
activity_diagram_combine_v4_20190827.pdfactivity_diagram_combine_v4_20190827.pdfJamie (Taka) Wang
 
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...Aggregage
 
Bird eye's view on Camunda open source ecosystem
Bird eye's view on Camunda open source ecosystemBird eye's view on Camunda open source ecosystem
Bird eye's view on Camunda open source ecosystemAsko Soukka
 
Basic Building Blocks of Internet of Things.
Basic Building Blocks of Internet of Things.Basic Building Blocks of Internet of Things.
Basic Building Blocks of Internet of Things.YounusS2
 
Building AI-Driven Apps Using Semantic Kernel.pptx
Building AI-Driven Apps Using Semantic Kernel.pptxBuilding AI-Driven Apps Using Semantic Kernel.pptx
Building AI-Driven Apps Using Semantic Kernel.pptxUdaiappa Ramachandran
 
Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...
Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...
Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...DianaGray10
 
Machine Learning Model Validation (Aijun Zhang 2024).pdf
Machine Learning Model Validation (Aijun Zhang 2024).pdfMachine Learning Model Validation (Aijun Zhang 2024).pdf
Machine Learning Model Validation (Aijun Zhang 2024).pdfAijun Zhang
 
9 Steps For Building Winning Founding Team
9 Steps For Building Winning Founding Team9 Steps For Building Winning Founding Team
9 Steps For Building Winning Founding TeamAdam Moalla
 
NIST Cybersecurity Framework (CSF) 2.0 Workshop
NIST Cybersecurity Framework (CSF) 2.0 WorkshopNIST Cybersecurity Framework (CSF) 2.0 Workshop
NIST Cybersecurity Framework (CSF) 2.0 WorkshopBachir Benyammi
 
How Accurate are Carbon Emissions Projections?
How Accurate are Carbon Emissions Projections?How Accurate are Carbon Emissions Projections?
How Accurate are Carbon Emissions Projections?IES VE
 
AI You Can Trust - Ensuring Success with Data Integrity Webinar
AI You Can Trust - Ensuring Success with Data Integrity WebinarAI You Can Trust - Ensuring Success with Data Integrity Webinar
AI You Can Trust - Ensuring Success with Data Integrity WebinarPrecisely
 

Dernier (20)

OpenShift Commons Paris - Choose Your Own Observability Adventure
OpenShift Commons Paris - Choose Your Own Observability AdventureOpenShift Commons Paris - Choose Your Own Observability Adventure
OpenShift Commons Paris - Choose Your Own Observability Adventure
 
Introduction to Matsuo Laboratory (ENG).pptx
Introduction to Matsuo Laboratory (ENG).pptxIntroduction to Matsuo Laboratory (ENG).pptx
Introduction to Matsuo Laboratory (ENG).pptx
 
UiPath Studio Web workshop series - Day 6
UiPath Studio Web workshop series - Day 6UiPath Studio Web workshop series - Day 6
UiPath Studio Web workshop series - Day 6
 
Igniting Next Level Productivity with AI-Infused Data Integration Workflows
Igniting Next Level Productivity with AI-Infused Data Integration WorkflowsIgniting Next Level Productivity with AI-Infused Data Integration Workflows
Igniting Next Level Productivity with AI-Infused Data Integration Workflows
 
Artificial Intelligence & SEO Trends for 2024
Artificial Intelligence & SEO Trends for 2024Artificial Intelligence & SEO Trends for 2024
Artificial Intelligence & SEO Trends for 2024
 
UiPath Solutions Management Preview - Northern CA Chapter - March 22.pdf
UiPath Solutions Management Preview - Northern CA Chapter - March 22.pdfUiPath Solutions Management Preview - Northern CA Chapter - March 22.pdf
UiPath Solutions Management Preview - Northern CA Chapter - March 22.pdf
 
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...
 
Designing A Time bound resource download URL
Designing A Time bound resource download URLDesigning A Time bound resource download URL
Designing A Time bound resource download URL
 
activity_diagram_combine_v4_20190827.pdfactivity_diagram_combine_v4_20190827.pdf
activity_diagram_combine_v4_20190827.pdfactivity_diagram_combine_v4_20190827.pdfactivity_diagram_combine_v4_20190827.pdfactivity_diagram_combine_v4_20190827.pdf
activity_diagram_combine_v4_20190827.pdfactivity_diagram_combine_v4_20190827.pdf
 
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
 
Bird eye's view on Camunda open source ecosystem
Bird eye's view on Camunda open source ecosystemBird eye's view on Camunda open source ecosystem
Bird eye's view on Camunda open source ecosystem
 
Basic Building Blocks of Internet of Things.
Basic Building Blocks of Internet of Things.Basic Building Blocks of Internet of Things.
Basic Building Blocks of Internet of Things.
 
Building AI-Driven Apps Using Semantic Kernel.pptx
Building AI-Driven Apps Using Semantic Kernel.pptxBuilding AI-Driven Apps Using Semantic Kernel.pptx
Building AI-Driven Apps Using Semantic Kernel.pptx
 
Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...
Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...
Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...
 
Machine Learning Model Validation (Aijun Zhang 2024).pdf
Machine Learning Model Validation (Aijun Zhang 2024).pdfMachine Learning Model Validation (Aijun Zhang 2024).pdf
Machine Learning Model Validation (Aijun Zhang 2024).pdf
 
20230104 - machine vision
20230104 - machine vision20230104 - machine vision
20230104 - machine vision
 
9 Steps For Building Winning Founding Team
9 Steps For Building Winning Founding Team9 Steps For Building Winning Founding Team
9 Steps For Building Winning Founding Team
 
NIST Cybersecurity Framework (CSF) 2.0 Workshop
NIST Cybersecurity Framework (CSF) 2.0 WorkshopNIST Cybersecurity Framework (CSF) 2.0 Workshop
NIST Cybersecurity Framework (CSF) 2.0 Workshop
 
How Accurate are Carbon Emissions Projections?
How Accurate are Carbon Emissions Projections?How Accurate are Carbon Emissions Projections?
How Accurate are Carbon Emissions Projections?
 
AI You Can Trust - Ensuring Success with Data Integrity Webinar
AI You Can Trust - Ensuring Success with Data Integrity WebinarAI You Can Trust - Ensuring Success with Data Integrity Webinar
AI You Can Trust - Ensuring Success with Data Integrity Webinar
 

freeCodeCamp Tokyo Meetup #18

  • 1. freeCodeCamp Tokyo #18 2016/07/20 @ Fork Inc. Welcome to freeCodeCamp Tokyo meetup!
  • 2. Who am I? Tanoue Kenta Web Programmer Ruby on Rails Rust React “Less is more”
  • 4. Today's schedule 19:00~ Opening 19:10~ Pair programming 19:40~ Presentation 20:00~ Drinking party 🍺 (fee: 500 yen)
  • 5. Pair programming Design quality Learning Two programmers work together at one workstation. One, the driver, writes code while the other, the navigator, reviews each line of code as it is typed in. https://en.wikipedia.org/wiki/Pair_programming
  • 6. Better code (in my opinion) Readability Maintainability var i = 5 What does “i” variable means? function calMaxAndExcludeOddNumbersInArr(arr) Too many roles!
  • 7. Modern Javascript (ES2015) Better code part2 https://github.com/metagrover/ES6-for-humans https://babeljs.io/docs/learn-es2015/ Arrows var plus = (x, y) => { return x + y; }; Classes class Human { constructor(name) { this.name = name; } } Array Spread function f(x, ...y) { return x * y.length; } f(3, "hello", true) == 6
  • 8. • Array Map, Filter, Reduce (Functional Programming) Better code part3 MAP Filter Reduce Array Map, Filter and Reduce in JS | Aten Design Group http://atendesigngroup.com/blog/array-map-filter-and-reduce-js
  • 9. Today’s challenges Return Largest Numbers in Arrays https://www.freecodecamp.com/challenges/return-largest- numbers-in-arrays DNA Pairing https://www.freecodecamp.com/challenges/dna-pairing
  • 10. Have a nice code!
  • 11. sample code Return Largest Numbers in Arrays https://gist.github.com/regonn/ 768c63fed15f6b728ef1d78acb949c52 DNA Pairing https://gist.github.com/regonn/ 460f6fb826a4bb94f3fc4f2468fa027a