SlideShare a Scribd company logo
UNDERSTAND PROGRAMMING THROUGH PSUEDO-CODE — RENEE BLUNT
Logic Over Language
CanIlearnthecodes?
/// Page 14
Focusonwhatisimportant
CodingisAboutSolving
Problems
pseu·do
not actually, but having the appearance of
Pass out movie tickets for PRPL movie day
P R O B L E M
For every employee that RSVP’d to the movie, give them a ticket
S O L U T I O N
For every employee
that RSVP’d to the movie
give them a ticket
S O L U T I O N B R O K E N D O W N
For every employee
that RSVP’d to the movie
give them a ticket
S O L U T I O N B R O K E N D O W N M O R E
For Loop
Conditional
Method
LemmeSeeDatCode
J A V A S C R I P T P H P
P Y T H O N C #
for (let prplPerson of prplPeople) {
if(prplPerson.rsvp){
Jackie.giveTicket(prplPerson);
}
}
foreach ($prplPeople as $prplPerson) {
if($prplPerson->rsvp){
Jackie::giveTicket($prplPerson);
}
}
for prplPerson in prplPeople:
if prplPerson.rsvp:
Jackie.giveTicket(prplPerson)
foreach(PRPLHuman prplPerson in prplPeople)
{
if(prplPerson.rsvp)
{
Jackie.giveTicket(prplPerson);
}
}
There’sMore
B U I L D I N G B L O C K S
•What’s a Jackie?
•What’s a PRPL People?
•How does a PRPL Person RSVP?
•Where do the tickets come from?
•Uh, what movie?
MakeaJackie
P L A I N L A N G U A G E C O D E Y L A N G U A G E
Is a PRPL employee
Is a human
Does stuff:
• administrative tasks
• organizes events
• coordinates movie day
• makes funnies
Jackie extends PRPL Employee
PRPL Employee extends Human
Methods:
• doAdminThings
• organizeEvent
• coordinateMovieDay
• makeFunny
vs.
Jackie
MakeaPRPL
Person
P L A I N L A N G U A G E C O D E Y L A N G U A G E
Is a human
Has Stuff:
• has a ticket
• has a job title
Does stuff:
• goes to a movie
• RSVPs to a movie
PRPL Employee extends Human
Properties:
• ticket (boolean)
• job title (string)
Methods:
• goToMovie
• rsvpToMovie
vs.
PRPLPerson
MakeaPRPL
People
P L A I N L A N G U A G E C O D E Y L A N G U A G E
Holds PRPL people
How many PRPL people?
Collection/Array/List
Properties:
• count
Methods:
• getCount
vs.
PRPLPeople
CHECKCHECK
IsThisThingOn?
B U I L D I N G B L O C K S
•What’s a Jackie?
•What’s a PRPL People?
•How does a PRPL Person RSVP?
•Where do the tickets come from?
•Uh, what movie?
KeepBuilding
http://bfy.tw/5ymq
F U R T H E R R E A D I N G
Renee Blunt (renee@prpl.rs)
Thanks!
PRPL HQ 189 S. Orange Ave., Suite 2020 Orlando, FL 32801
@prplrckscssrs
fb.com/prplrckscssrs
www.prpl.rs
Follow PRPL

More Related Content

Viewers also liked

Logic: Language and Information 1
Logic: Language and Information 1Logic: Language and Information 1
Logic: Language and Information 1
Syed Farjad Zia Zaidi
 
Introduction To Programming with Python-4
Introduction To Programming with Python-4Introduction To Programming with Python-4
Introduction To Programming with Python-4
Syed Farjad Zia Zaidi
 
Introduction to UBI
Introduction to UBIIntroduction to UBI
Introduction to UBI
Roy Lee
 
Python 4 Arc
Python 4 ArcPython 4 Arc
Python 4 Arc
absvis
 
The Python Programming Language and HDF5: H5Py
The Python Programming Language and HDF5: H5PyThe Python Programming Language and HDF5: H5Py
The Python Programming Language and HDF5: H5Py
The HDF-EOS Tools and Information Center
 
Clase 2 estatica
Clase 2 estatica Clase 2 estatica
Clase 2 estatica
Gerald Moreira Ramírez
 
Using HDF5 and Python: The H5py module
Using HDF5 and Python: The H5py moduleUsing HDF5 and Python: The H5py module
Using HDF5 and Python: The H5py module
The HDF-EOS Tools and Information Center
 
HDF5 Tools
HDF5 ToolsHDF5 Tools
Python programming - Everyday(ish) Examples
Python programming - Everyday(ish) ExamplesPython programming - Everyday(ish) Examples
Python programming - Everyday(ish) Examples
Ashish Sharma
 
Lets learn Python !
Lets learn Python !Lets learn Python !
Lets learn Python !
Kiran Gangadharan
 
Introduction To Programming with Python Lecture 2
Introduction To Programming with Python Lecture 2Introduction To Programming with Python Lecture 2
Introduction To Programming with Python Lecture 2
Syed Farjad Zia Zaidi
 
Cyberoam Firewall Presentation
Cyberoam Firewall PresentationCyberoam Firewall Presentation
Cyberoam Firewall Presentation
Manoj Kumar Mishra
 
introduction to python
introduction to pythonintroduction to python
introduction to python
Sardar Alam
 
Introduction To Programming with Python-3
Introduction To Programming with Python-3Introduction To Programming with Python-3
Introduction To Programming with Python-3
Syed Farjad Zia Zaidi
 
Introduction to Python
Introduction to PythonIntroduction to Python
Introduction to Python
Nowell Strite
 

Viewers also liked (15)

Logic: Language and Information 1
Logic: Language and Information 1Logic: Language and Information 1
Logic: Language and Information 1
 
Introduction To Programming with Python-4
Introduction To Programming with Python-4Introduction To Programming with Python-4
Introduction To Programming with Python-4
 
Introduction to UBI
Introduction to UBIIntroduction to UBI
Introduction to UBI
 
Python 4 Arc
Python 4 ArcPython 4 Arc
Python 4 Arc
 
The Python Programming Language and HDF5: H5Py
The Python Programming Language and HDF5: H5PyThe Python Programming Language and HDF5: H5Py
The Python Programming Language and HDF5: H5Py
 
Clase 2 estatica
Clase 2 estatica Clase 2 estatica
Clase 2 estatica
 
Using HDF5 and Python: The H5py module
Using HDF5 and Python: The H5py moduleUsing HDF5 and Python: The H5py module
Using HDF5 and Python: The H5py module
 
HDF5 Tools
HDF5 ToolsHDF5 Tools
HDF5 Tools
 
Python programming - Everyday(ish) Examples
Python programming - Everyday(ish) ExamplesPython programming - Everyday(ish) Examples
Python programming - Everyday(ish) Examples
 
Lets learn Python !
Lets learn Python !Lets learn Python !
Lets learn Python !
 
Introduction To Programming with Python Lecture 2
Introduction To Programming with Python Lecture 2Introduction To Programming with Python Lecture 2
Introduction To Programming with Python Lecture 2
 
Cyberoam Firewall Presentation
Cyberoam Firewall PresentationCyberoam Firewall Presentation
Cyberoam Firewall Presentation
 
introduction to python
introduction to pythonintroduction to python
introduction to python
 
Introduction To Programming with Python-3
Introduction To Programming with Python-3Introduction To Programming with Python-3
Introduction To Programming with Python-3
 
Introduction to Python
Introduction to PythonIntroduction to Python
Introduction to Python
 

More from Purple, Rock, Scissors

PRPL @ SXSW: The Symbiosis of Brains, Marketing, and Design
PRPL @ SXSW: The Symbiosis of Brains, Marketing, and DesignPRPL @ SXSW: The Symbiosis of Brains, Marketing, and Design
PRPL @ SXSW: The Symbiosis of Brains, Marketing, and Design
Purple, Rock, Scissors
 
PRPL Academy x Valencia College: Creative Behaviors
PRPL Academy x Valencia College: Creative Behaviors PRPL Academy x Valencia College: Creative Behaviors
PRPL Academy x Valencia College: Creative Behaviors
Purple, Rock, Scissors
 
Magic the Gathering 101
Magic the Gathering 101Magic the Gathering 101
Magic the Gathering 101
Purple, Rock, Scissors
 
Tips for Optimal Productivity
Tips for Optimal ProductivityTips for Optimal Productivity
Tips for Optimal Productivity
Purple, Rock, Scissors
 
Strategies for Habit Formation
Strategies for Habit FormationStrategies for Habit Formation
Strategies for Habit Formation
Purple, Rock, Scissors
 
Managing Your Stress with Plants
Managing Your Stress with PlantsManaging Your Stress with Plants
Managing Your Stress with Plants
Purple, Rock, Scissors
 
Video Production Process
Video Production ProcessVideo Production Process
Video Production Process
Purple, Rock, Scissors
 
Folder Structures in After Effects
Folder Structures in After EffectsFolder Structures in After Effects
Folder Structures in After Effects
Purple, Rock, Scissors
 
Object-Oriented Content Strategy
Object-Oriented Content StrategyObject-Oriented Content Strategy
Object-Oriented Content Strategy
Purple, Rock, Scissors
 
State of Livestream and Raw Content
State of Livestream and Raw ContentState of Livestream and Raw Content
State of Livestream and Raw Content
Purple, Rock, Scissors
 
Digital Entropy: Swimming Upstream in a Fast-Moving Industry
Digital Entropy: Swimming Upstream in a Fast-Moving IndustryDigital Entropy: Swimming Upstream in a Fast-Moving Industry
Digital Entropy: Swimming Upstream in a Fast-Moving Industry
Purple, Rock, Scissors
 
Goal-Driven Design: A Bauhaus Approach to Digital Strategy
Goal-Driven Design: A Bauhaus Approach to Digital StrategyGoal-Driven Design: A Bauhaus Approach to Digital Strategy
Goal-Driven Design: A Bauhaus Approach to Digital Strategy
Purple, Rock, Scissors
 
A Field Guide to Interaction Design (IxD)
A Field Guide to Interaction Design (IxD)A Field Guide to Interaction Design (IxD)
A Field Guide to Interaction Design (IxD)
Purple, Rock, Scissors
 
Excel Crash Course: Pivot Tables
Excel Crash Course: Pivot TablesExcel Crash Course: Pivot Tables
Excel Crash Course: Pivot Tables
Purple, Rock, Scissors
 
The Odd Couple of UX Design
The Odd Couple of UX DesignThe Odd Couple of UX Design
The Odd Couple of UX Design
Purple, Rock, Scissors
 
Surf Expo Social Media Audit by PRPL
Surf Expo Social Media Audit by PRPLSurf Expo Social Media Audit by PRPL
Surf Expo Social Media Audit by PRPL
Purple, Rock, Scissors
 
Mobile-Friendly Social Media Strategy
Mobile-Friendly Social Media StrategyMobile-Friendly Social Media Strategy
Mobile-Friendly Social Media Strategy
Purple, Rock, Scissors
 
It's Not You, It's Me: Saying Bye to Google Keyword Data
It's Not You, It's Me: Saying Bye to Google Keyword DataIt's Not You, It's Me: Saying Bye to Google Keyword Data
It's Not You, It's Me: Saying Bye to Google Keyword Data
Purple, Rock, Scissors
 
Advertising Analytics 2.0
Advertising Analytics 2.0Advertising Analytics 2.0
Advertising Analytics 2.0
Purple, Rock, Scissors
 
Intro to Microinteractions: Foundation of Details that Delight
Intro to Microinteractions: Foundation of Details that DelightIntro to Microinteractions: Foundation of Details that Delight
Intro to Microinteractions: Foundation of Details that Delight
Purple, Rock, Scissors
 

More from Purple, Rock, Scissors (20)

PRPL @ SXSW: The Symbiosis of Brains, Marketing, and Design
PRPL @ SXSW: The Symbiosis of Brains, Marketing, and DesignPRPL @ SXSW: The Symbiosis of Brains, Marketing, and Design
PRPL @ SXSW: The Symbiosis of Brains, Marketing, and Design
 
PRPL Academy x Valencia College: Creative Behaviors
PRPL Academy x Valencia College: Creative Behaviors PRPL Academy x Valencia College: Creative Behaviors
PRPL Academy x Valencia College: Creative Behaviors
 
Magic the Gathering 101
Magic the Gathering 101Magic the Gathering 101
Magic the Gathering 101
 
Tips for Optimal Productivity
Tips for Optimal ProductivityTips for Optimal Productivity
Tips for Optimal Productivity
 
Strategies for Habit Formation
Strategies for Habit FormationStrategies for Habit Formation
Strategies for Habit Formation
 
Managing Your Stress with Plants
Managing Your Stress with PlantsManaging Your Stress with Plants
Managing Your Stress with Plants
 
Video Production Process
Video Production ProcessVideo Production Process
Video Production Process
 
Folder Structures in After Effects
Folder Structures in After EffectsFolder Structures in After Effects
Folder Structures in After Effects
 
Object-Oriented Content Strategy
Object-Oriented Content StrategyObject-Oriented Content Strategy
Object-Oriented Content Strategy
 
State of Livestream and Raw Content
State of Livestream and Raw ContentState of Livestream and Raw Content
State of Livestream and Raw Content
 
Digital Entropy: Swimming Upstream in a Fast-Moving Industry
Digital Entropy: Swimming Upstream in a Fast-Moving IndustryDigital Entropy: Swimming Upstream in a Fast-Moving Industry
Digital Entropy: Swimming Upstream in a Fast-Moving Industry
 
Goal-Driven Design: A Bauhaus Approach to Digital Strategy
Goal-Driven Design: A Bauhaus Approach to Digital StrategyGoal-Driven Design: A Bauhaus Approach to Digital Strategy
Goal-Driven Design: A Bauhaus Approach to Digital Strategy
 
A Field Guide to Interaction Design (IxD)
A Field Guide to Interaction Design (IxD)A Field Guide to Interaction Design (IxD)
A Field Guide to Interaction Design (IxD)
 
Excel Crash Course: Pivot Tables
Excel Crash Course: Pivot TablesExcel Crash Course: Pivot Tables
Excel Crash Course: Pivot Tables
 
The Odd Couple of UX Design
The Odd Couple of UX DesignThe Odd Couple of UX Design
The Odd Couple of UX Design
 
Surf Expo Social Media Audit by PRPL
Surf Expo Social Media Audit by PRPLSurf Expo Social Media Audit by PRPL
Surf Expo Social Media Audit by PRPL
 
Mobile-Friendly Social Media Strategy
Mobile-Friendly Social Media StrategyMobile-Friendly Social Media Strategy
Mobile-Friendly Social Media Strategy
 
It's Not You, It's Me: Saying Bye to Google Keyword Data
It's Not You, It's Me: Saying Bye to Google Keyword DataIt's Not You, It's Me: Saying Bye to Google Keyword Data
It's Not You, It's Me: Saying Bye to Google Keyword Data
 
Advertising Analytics 2.0
Advertising Analytics 2.0Advertising Analytics 2.0
Advertising Analytics 2.0
 
Intro to Microinteractions: Foundation of Details that Delight
Intro to Microinteractions: Foundation of Details that DelightIntro to Microinteractions: Foundation of Details that Delight
Intro to Microinteractions: Foundation of Details that Delight
 

Recently uploaded

This is my Environmental physics presentation
This is my Environmental physics presentationThis is my Environmental physics presentation
This is my Environmental physics presentation
ZainabHashmi17
 
Unbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptxUnbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptx
ChristineTorrepenida1
 
New techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdfNew techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdf
wisnuprabawa3
 
Self-Control of Emotions by Slidesgo.pptx
Self-Control of Emotions by Slidesgo.pptxSelf-Control of Emotions by Slidesgo.pptx
Self-Control of Emotions by Slidesgo.pptx
iemerc2024
 
Series of visio cisco devices Cisco_Icons.ppt
Series of visio cisco devices Cisco_Icons.pptSeries of visio cisco devices Cisco_Icons.ppt
Series of visio cisco devices Cisco_Icons.ppt
PauloRodrigues104553
 
DfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributionsDfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributions
gestioneergodomus
 
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
zwunae
 
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsKuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
Victor Morales
 
Modelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdfModelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdf
camseq
 
14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application
SyedAbiiAzazi1
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
Madan Karki
 
Technical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prismsTechnical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prisms
heavyhaig
 
ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...
ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...
ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...
Mukeshwaran Balu
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Christina Lin
 
Swimming pool mechanical components design.pptx
Swimming pool  mechanical components design.pptxSwimming pool  mechanical components design.pptx
Swimming pool mechanical components design.pptx
yokeleetan1
 
一比一原版(UC Berkeley毕业证)加利福尼亚大学|伯克利分校毕业证成绩单专业办理
一比一原版(UC Berkeley毕业证)加利福尼亚大学|伯克利分校毕业证成绩单专业办理一比一原版(UC Berkeley毕业证)加利福尼亚大学|伯克利分校毕业证成绩单专业办理
一比一原版(UC Berkeley毕业证)加利福尼亚大学|伯克利分校毕业证成绩单专业办理
skuxot
 
Exception Handling notes in java exception
Exception Handling notes in java exceptionException Handling notes in java exception
Exception Handling notes in java exception
Ratnakar Mikkili
 
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdfTutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
aqil azizi
 
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODELDEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
gerogepatton
 
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
obonagu
 

Recently uploaded (20)

This is my Environmental physics presentation
This is my Environmental physics presentationThis is my Environmental physics presentation
This is my Environmental physics presentation
 
Unbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptxUnbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptx
 
New techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdfNew techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdf
 
Self-Control of Emotions by Slidesgo.pptx
Self-Control of Emotions by Slidesgo.pptxSelf-Control of Emotions by Slidesgo.pptx
Self-Control of Emotions by Slidesgo.pptx
 
Series of visio cisco devices Cisco_Icons.ppt
Series of visio cisco devices Cisco_Icons.pptSeries of visio cisco devices Cisco_Icons.ppt
Series of visio cisco devices Cisco_Icons.ppt
 
DfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributionsDfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributions
 
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
 
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsKuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
 
Modelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdfModelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdf
 
14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
 
Technical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prismsTechnical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prisms
 
ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...
ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...
ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
 
Swimming pool mechanical components design.pptx
Swimming pool  mechanical components design.pptxSwimming pool  mechanical components design.pptx
Swimming pool mechanical components design.pptx
 
一比一原版(UC Berkeley毕业证)加利福尼亚大学|伯克利分校毕业证成绩单专业办理
一比一原版(UC Berkeley毕业证)加利福尼亚大学|伯克利分校毕业证成绩单专业办理一比一原版(UC Berkeley毕业证)加利福尼亚大学|伯克利分校毕业证成绩单专业办理
一比一原版(UC Berkeley毕业证)加利福尼亚大学|伯克利分校毕业证成绩单专业办理
 
Exception Handling notes in java exception
Exception Handling notes in java exceptionException Handling notes in java exception
Exception Handling notes in java exception
 
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdfTutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
 
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODELDEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
 
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
原版制作(unimelb毕业证书)墨尔本大学毕业证Offer一模一样
 

Logic Over Language

  • 1. UNDERSTAND PROGRAMMING THROUGH PSUEDO-CODE — RENEE BLUNT Logic Over Language
  • 6. pseu·do not actually, but having the appearance of
  • 7. Pass out movie tickets for PRPL movie day P R O B L E M
  • 8. For every employee that RSVP’d to the movie, give them a ticket S O L U T I O N
  • 9. For every employee that RSVP’d to the movie give them a ticket S O L U T I O N B R O K E N D O W N
  • 10. For every employee that RSVP’d to the movie give them a ticket S O L U T I O N B R O K E N D O W N M O R E For Loop Conditional Method
  • 12. J A V A S C R I P T P H P P Y T H O N C # for (let prplPerson of prplPeople) { if(prplPerson.rsvp){ Jackie.giveTicket(prplPerson); } } foreach ($prplPeople as $prplPerson) { if($prplPerson->rsvp){ Jackie::giveTicket($prplPerson); } } for prplPerson in prplPeople: if prplPerson.rsvp: Jackie.giveTicket(prplPerson) foreach(PRPLHuman prplPerson in prplPeople) { if(prplPerson.rsvp) { Jackie.giveTicket(prplPerson); } }
  • 13. There’sMore B U I L D I N G B L O C K S •What’s a Jackie? •What’s a PRPL People? •How does a PRPL Person RSVP? •Where do the tickets come from? •Uh, what movie?
  • 15. P L A I N L A N G U A G E C O D E Y L A N G U A G E Is a PRPL employee Is a human Does stuff: • administrative tasks • organizes events • coordinates movie day • makes funnies Jackie extends PRPL Employee PRPL Employee extends Human Methods: • doAdminThings • organizeEvent • coordinateMovieDay • makeFunny vs. Jackie
  • 17. P L A I N L A N G U A G E C O D E Y L A N G U A G E Is a human Has Stuff: • has a ticket • has a job title Does stuff: • goes to a movie • RSVPs to a movie PRPL Employee extends Human Properties: • ticket (boolean) • job title (string) Methods: • goToMovie • rsvpToMovie vs. PRPLPerson
  • 19. P L A I N L A N G U A G E C O D E Y L A N G U A G E Holds PRPL people How many PRPL people? Collection/Array/List Properties: • count Methods: • getCount vs. PRPLPeople
  • 21. IsThisThingOn? B U I L D I N G B L O C K S •What’s a Jackie? •What’s a PRPL People? •How does a PRPL Person RSVP? •Where do the tickets come from? •Uh, what movie?
  • 23. http://bfy.tw/5ymq F U R T H E R R E A D I N G
  • 24. Renee Blunt (renee@prpl.rs) Thanks! PRPL HQ 189 S. Orange Ave., Suite 2020 Orlando, FL 32801 @prplrckscssrs fb.com/prplrckscssrs www.prpl.rs Follow PRPL