SlideShare a Scribd company logo
1 of 20
Download to read offline
@nickvdh @Hypernation#Devoxx #junior2professional
Java Sutra
The audience questions
Nick Vanderhoven
Jeroen Horemans
@nickvdh @Hypernation#Devoxx #junior2professional
Introduction
Nick : Badass architect elite
Jeroen : Intergalactic senior supreme
@nickvdh @Hypernation#Devoxx #junior2professional
Question 1
“ Since methods in Java are now first class citizens,
is it okay to write them with a first capital letter? “
@nickvdh @Hypernation#Devoxx #junior2professional
Methods are first class citizen
● Bytecode library to give them a firstname and lastname
● Methods from foreign library to avoid illegal access exception
@nickvdh @Hypernation#Devoxx #junior2professional
Question 2
“You said you support test driven development, but not in all cases...
… when is testing not appropriate?”
@nickvdh @Hypernation#Devoxx #junior2professional
Inappropriate testing
● Testing on animal should never be allowed
● Java threats everything as an object with a number
○ Filed a JSR to introduce an extra root class: Animal
@nickvdh @Hypernation#Devoxx #junior2professional
Question 3
“Sometimes I believe the compiler ignores all my comments”
@nickvdh @Hypernation#Devoxx #junior2professional
Comments
In order to make people read your comments
● Give them nonsense names, like a(), execute() or doSomething()
● Use a lot of html and images in them
● Use self invented javadoc annotations like @Pre en @Post
The pattern is called comments by obfuscation
@nickvdh @Hypernation#Devoxx #junior2professional
Question 4
How to keep your velocity stable
@nickvdh @Hypernation#Devoxx #junior2professional
Agile velocity
Do the estimations after the story is developed
● That way you are always sure the velocity is maintained
If the velocity is 2 mandays / storypoint
● If you are ready after 1 day
● You have a day left to drink coffee
@nickvdh @Hypernation#Devoxx #junior2professional
Question 5
“How did you fix your 4 hour build time?”
@nickvdh @Hypernation#Devoxx #junior2professional
The long build
Kick 50% of your integration/gui tests
● even/odd approach
● If its old its stable approach
Let someone else do it
@nickvdh @Hypernation#Devoxx #junior2professional
Question 6
“How come your build never fails”
@nickvdh @Hypernation#Devoxx #junior2professional
The stablest build
● Push max twice per sprint
● Push when no other devs are around
● If it fails fix it fast and remove the failed jenkins build
○ Are you sure you want to delete this permanently >> YES
@nickvdh @Hypernation#Devoxx #junior2professional
Question 7
You like to work with a lot of juniors, how do you keep them all busy
@nickvdh @Hypernation#Devoxx #junior2professional
Newbies FTW
You had one job
● 1 junior for merging branches
● 1 junior for writing javadoc
● 1 junior for writing tests for my code
● 1 junior for fixing bugs
They can choose a new role every sprint
@nickvdh @Hypernation#Devoxx #junior2professional
Question 9
How do I stop morons changing my code
@nickvdh @Hypernation#Devoxx #junior2professional
My Code is not for sharing
Obfuscation is again your friend
● Self invented patterns
● Extreme use of lambdas, optional and self invented function interfaces
● Functions returning
○ functions returning
■ streams of functions
● of optionals
○ of streams
■ of functions
@nickvdh @Hypernation#Devoxx #junior2professional
My Code is not for sharing
// Autogenerated, do not edit. All changes will be undone.
@nickvdh @Hypernation#Devoxx #junior2professional
Any questions left?
Thank you!
Nick Vanderhoven
Jeroen Horemans

More Related Content

What's hot

Coderetreat @ CodersTUG
Coderetreat @ CodersTUGCoderetreat @ CodersTUG
Coderetreat @ CodersTUG
Matteo Baglini
 
Developing sustainable php projects
Developing sustainable php projectsDeveloping sustainable php projects
Developing sustainable php projects
Michele Orselli
 
Good code, Bad Code
Good code, Bad CodeGood code, Bad Code
Good code, Bad Code
josedasilva
 

What's hot (20)

Reactive extensions (rx js) in dnn
Reactive extensions (rx js) in dnnReactive extensions (rx js) in dnn
Reactive extensions (rx js) in dnn
 
Coderetreat @ CodersTUG
Coderetreat @ CodersTUGCoderetreat @ CodersTUG
Coderetreat @ CodersTUG
 
How to write bad code using C#
How to write bad code using C#How to write bad code using C#
How to write bad code using C#
 
The art of not being too good at the Marshmallow test
The art of not being too good at the Marshmallow testThe art of not being too good at the Marshmallow test
The art of not being too good at the Marshmallow test
 
Developing sustainable php projects
Developing sustainable php projectsDeveloping sustainable php projects
Developing sustainable php projects
 
Pipeline as Code
Pipeline as CodePipeline as Code
Pipeline as Code
 
React Native: How It Works
React Native: How It WorksReact Native: How It Works
React Native: How It Works
 
Looking back at 7.5 years of Devopsdays , DOd PDX
Looking back at 7.5 years of Devopsdays , DOd PDXLooking back at 7.5 years of Devopsdays , DOd PDX
Looking back at 7.5 years of Devopsdays , DOd PDX
 
Deploying your SaaS stack OnPrem
Deploying your SaaS stack OnPremDeploying your SaaS stack OnPrem
Deploying your SaaS stack OnPrem
 
Pair Code Review Lightning Talk
Pair Code Review Lightning TalkPair Code Review Lightning Talk
Pair Code Review Lightning Talk
 
Joomla! Bug Squashing at JUG Sorø
Joomla! Bug Squashing at JUG SorøJoomla! Bug Squashing at JUG Sorø
Joomla! Bug Squashing at JUG Sorø
 
Code Quality
Code QualityCode Quality
Code Quality
 
Good code, Bad Code
Good code, Bad CodeGood code, Bad Code
Good code, Bad Code
 
CSS-in-JS in React: Why, current state, and bright future.
CSS-in-JS in React: Why, current state, and bright future.CSS-in-JS in React: Why, current state, and bright future.
CSS-in-JS in React: Why, current state, and bright future.
 
BDD with the Cucumber
BDD with the CucumberBDD with the Cucumber
BDD with the Cucumber
 
OSDC 2015: Kris Buytaert | From ConfigManagementSucks to ConfigManagementLove
OSDC 2015: Kris Buytaert | From ConfigManagementSucks to ConfigManagementLoveOSDC 2015: Kris Buytaert | From ConfigManagementSucks to ConfigManagementLove
OSDC 2015: Kris Buytaert | From ConfigManagementSucks to ConfigManagementLove
 
JS introduction (lesson 1)
JS  introduction (lesson 1)JS  introduction (lesson 1)
JS introduction (lesson 1)
 
Code Quality Assurance
Code Quality AssuranceCode Quality Assurance
Code Quality Assurance
 
Bahaviour Driven Development
Bahaviour Driven DevelopmentBahaviour Driven Development
Bahaviour Driven Development
 
DevOps for Engineers
DevOps for EngineersDevOps for Engineers
DevOps for Engineers
 

Viewers also liked (20)

Doc6
Doc6Doc6
Doc6
 
Tara Deans list
Tara Deans listTara Deans list
Tara Deans list
 
Halford e luccok-linha_de_esplendor_sem_fim (4)
Halford e luccok-linha_de_esplendor_sem_fim (4)Halford e luccok-linha_de_esplendor_sem_fim (4)
Halford e luccok-linha_de_esplendor_sem_fim (4)
 
O poder secreto do jejum e da oração
O poder secreto do jejum e da oraçãoO poder secreto do jejum e da oração
O poder secreto do jejum e da oração
 
Ebook 03
Ebook 03Ebook 03
Ebook 03
 
Amos r binney-compendio_de_teologia (4)
Amos r binney-compendio_de_teologia (4)Amos r binney-compendio_de_teologia (4)
Amos r binney-compendio_de_teologia (4)
 
398
398398
398
 
Osbrink Reference Letter
Osbrink Reference LetterOsbrink Reference Letter
Osbrink Reference Letter
 
Nat_Snr_Cert
Nat_Snr_CertNat_Snr_Cert
Nat_Snr_Cert
 
rcsp
rcsprcsp
rcsp
 
Redes sociais
Redes sociaisRedes sociais
Redes sociais
 
Altas culturas de Nuestramerica
Altas culturas de NuestramericaAltas culturas de Nuestramerica
Altas culturas de Nuestramerica
 
MJE Core Expertise
MJE Core ExpertiseMJE Core Expertise
MJE Core Expertise
 
Reference of Guillermo Diaz Burgers, for Evald Smilskaln
Reference of Guillermo Diaz Burgers, for Evald SmilskalnReference of Guillermo Diaz Burgers, for Evald Smilskaln
Reference of Guillermo Diaz Burgers, for Evald Smilskaln
 
Campanha promocional conceição
Campanha promocional conceiçãoCampanha promocional conceição
Campanha promocional conceição
 
2775_001
2775_0012775_001
2775_001
 
20150810114335
2015081011433520150810114335
20150810114335
 
Geology, Geophysics & Mining
Geology, Geophysics & MiningGeology, Geophysics & Mining
Geology, Geophysics & Mining
 
WMD Training April 16
WMD Training April 16WMD Training April 16
WMD Training April 16
 
tuffner09Pyr.pdf
tuffner09Pyr.pdftuffner09Pyr.pdf
tuffner09Pyr.pdf
 

Similar to Java sutra

Moving to a DevOps mode - easy, hard or just plain terrifying? - Daniel Bryan...
Moving to a DevOps mode - easy, hard or just plain terrifying? - Daniel Bryan...Moving to a DevOps mode - easy, hard or just plain terrifying? - Daniel Bryan...
Moving to a DevOps mode - easy, hard or just plain terrifying? - Daniel Bryan...
JAXLondon2014
 

Similar to Java sutra (20)

Further together curated pairing culture @pivotal
Further together  curated pairing culture @pivotalFurther together  curated pairing culture @pivotal
Further together curated pairing culture @pivotal
 
Further together: Curated Pairing Culture @Pivotal
Further together: Curated Pairing Culture @PivotalFurther together: Curated Pairing Culture @Pivotal
Further together: Curated Pairing Culture @Pivotal
 
Engineers need to learn UXR
Engineers need to learn UXREngineers need to learn UXR
Engineers need to learn UXR
 
What is quality code? From cruft to craft
What is quality code? From cruft to craftWhat is quality code? From cruft to craft
What is quality code? From cruft to craft
 
Further Together: Curated Pairing Culture @Pivotal
Further Together: Curated Pairing Culture @PivotalFurther Together: Curated Pairing Culture @Pivotal
Further Together: Curated Pairing Culture @Pivotal
 
Moving to a DevOps mode - easy, hard or just plain terrifying? - Daniel Bryan...
Moving to a DevOps mode - easy, hard or just plain terrifying? - Daniel Bryan...Moving to a DevOps mode - easy, hard or just plain terrifying? - Daniel Bryan...
Moving to a DevOps mode - easy, hard or just plain terrifying? - Daniel Bryan...
 
JAX London 2014 "Moving to DevOps Mode: easy, hard or just plain terrifying?"
JAX London 2014 "Moving to DevOps Mode: easy, hard or just plain terrifying?"JAX London 2014 "Moving to DevOps Mode: easy, hard or just plain terrifying?"
JAX London 2014 "Moving to DevOps Mode: easy, hard or just plain terrifying?"
 
Building Modern Software: UX and Design
Building Modern Software: UX and DesignBuilding Modern Software: UX and Design
Building Modern Software: UX and Design
 
Tdd distilled... in java
Tdd distilled... in javaTdd distilled... in java
Tdd distilled... in java
 
Magento 2 Performance: Every Second Counts
Magento 2 Performance: Every Second CountsMagento 2 Performance: Every Second Counts
Magento 2 Performance: Every Second Counts
 
Devops in with the old, in with the new
Devops   in with the old, in with the newDevops   in with the old, in with the new
Devops in with the old, in with the new
 
Prototyping Methods
Prototyping MethodsPrototyping Methods
Prototyping Methods
 
13. Objects II
13. Objects II13. Objects II
13. Objects II
 
Superman or Ironman - can everyone be a 10x developer?
Superman or Ironman - can everyone be a 10x developer?Superman or Ironman - can everyone be a 10x developer?
Superman or Ironman - can everyone be a 10x developer?
 
Untangling - fall2017 - week 7
Untangling - fall2017 - week 7Untangling - fall2017 - week 7
Untangling - fall2017 - week 7
 
Devoxx Belgium 2018 - Micronaut in Action!
Devoxx Belgium 2018 - Micronaut in Action!Devoxx Belgium 2018 - Micronaut in Action!
Devoxx Belgium 2018 - Micronaut in Action!
 
DevoxxUK 2014 "Moving to a DevOps Mode: Easy, Hard, or Just Plain Terrifying?"
DevoxxUK 2014 "Moving to a DevOps Mode: Easy, Hard, or Just Plain Terrifying?"DevoxxUK 2014 "Moving to a DevOps Mode: Easy, Hard, or Just Plain Terrifying?"
DevoxxUK 2014 "Moving to a DevOps Mode: Easy, Hard, or Just Plain Terrifying?"
 
Docs or it didn’t happen
Docs or it didn’t happenDocs or it didn’t happen
Docs or it didn’t happen
 
WIT HDip Student Survey 2000
WIT HDip Student Survey 2000WIT HDip Student Survey 2000
WIT HDip Student Survey 2000
 
Agile for digital library projects
Agile for digital library projectsAgile for digital library projects
Agile for digital library projects
 

Recently uploaded

+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
Health
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
anilsa9823
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
mohitmore19
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceCALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
anilsa9823
 

Recently uploaded (20)

How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceCALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 

Java sutra