[フレーム]
Uploaded byxSawyer
1,988 views

do_this and die();

The document expresses frustration with various coding practices, particularly the longstanding debate over using tabs versus spaces, emphasizing the importance of avoiding mixing them. It includes idiosyncratic code snippets and vocalizes a light-hearted yet cautionary tone regarding digital communication and coding conventions. Additionally, it contains a personal sentiment towards someone special, likening them to essential elements of life.

Embed presentation

Download to read offline
I WILL KILL YOU AKA, do_this() and die; AKA, things that piss me off Sawyer X ( @PerlSawyer )
WORDS OF CAUTION TIMTOWTDI Your mileage may vary No batteries included Don't drink and drive And lastly...
SMALL PROBLEMS uls( nes) Postfix i ( f)
REALLY STUPID STUFF $ , $ ,$ , $ , $ , $ , $ , $ a b i j k l m n ,ドル,ドル,ドル,ドル ,ドル,ドル$ f u c k y o u Trailing spaces STOP IT! $a,@ra,%ah vr ary hs
TABS VS. SPACES The eternal struggle Do not mix tabs and spaces Do NOT mix tabs and spaces DO NOT mix tabs and spaces DO NOT MIX TABS AND SPACES! Best rule? No tabs, only spaces
MISUNDERSTANDINGS m pwithout checking value a #mpEP,IT a XRLS m %gs =mp+ $ = $is$}'g' ) ky %is y ae a ( _ > kd{_{ae} , es kd; #mpBOKLS a LC IT m @otd=mp {$-[] y sre a _>0 } sr {$-[]<>$-[] } ot a>1 = b>1 mp {[,ドルceku(_ ]}@ie; a _ hcsm$) szs C-style f rf r a h o/ oec #frfrahLS o/oec IT m @is=q<en jf jh jci jmjh ja jn jd js> y kd wjny ef on ake i on on ue ue oh; fr(m $ =0 $ <@is $+ ){ o y i ; i kd; i+ sy">$is$]; a - kd[i" } frahm $i (kd){ oec y kd @is sy">$i" a - kd; } sy">$"fr@is a - _ o kd;
SWITCHES i f (oe $n) {.} .. esf(to li $w) {.} .. esf(tre {.} li $he) .. es le {.} .. m %ipth=( y dsac $n oe = sb{.} > u .., $w to = sb{.} > u .., $he = sb{.} tre > u .., ) ; i (eit $ipth$nu}){ f xss dsac{ipt $ipth$nu}>..; dsac{ipt-(.) }es {.} le ..
EMPTY IF CLAUSE i (smtig { f $oehn) #d ntig o ohn }es { le #teata wr h cul ok }
RETURN VARIABLES m $eun y rtr; i (ti){ f $hs .. . $eun='hs; rtr ti' }esf(aohrtig { li $nte_hn) .. . $eun='ht; rtr ta' } rtr $eun eun rtr;
CLASS METHODS Sm:Cas>ymto oe:ls-m_ehd
WORKFLOW TRY/CATCH NOT FOR WORKFLOW!
GOTO HELL; NOT FOR WORKFLOW! #Clbljms ae up gt HL; oo EL #smweees oehr le HL: EL cniu_BxCascd(; otneDI_ls_oe) #oerdstecretfaei tesak vrie h urn rm n h tc #go,we ncsay od hn eesr gt &yfnto; oo m_ucin
WHY? Because code is alive and grows Sometimes to ridiculous age You might not be the last And the next might know your address
THANK YOU
HIDDEN SLIDES
AN ODD ODE TO A SPECIAL SOMEONE...
You are the air beneath my wings You are the sunlight in my garden And I am happy you are here
And to Cluj.pm... I warned you!

More Related Content

XS Fun
PDF
XS Fun
Short intro to ES6 Features
PDF
Short intro to ES6 Features
PFDS 4章をOCamlに翻訳
PDF
PFDS 4章をOCamlに翻訳
穏やかにファイルを削除する
PDF
穏やかにファイルを削除する
Presenting Seq for Node.js
PDF
Presenting Seq for Node.js
Shell and perl scripting classes in mumbai
PPT
Shell and perl scripting classes in mumbai
Asynchronous programming FTW!
PDF
Asynchronous programming FTW!
Inserindo em Ordem Crescente na Lista Encadeada
PDF
Inserindo em Ordem Crescente na Lista Encadeada
XS Fun
XS Fun
Short intro to ES6 Features
Short intro to ES6 Features
PFDS 4章をOCamlに翻訳
PFDS 4章をOCamlに翻訳
穏やかにファイルを削除する
穏やかにファイルを削除する
Presenting Seq for Node.js
Presenting Seq for Node.js
Shell and perl scripting classes in mumbai
Shell and perl scripting classes in mumbai
Asynchronous programming FTW!
Asynchronous programming FTW!
Inserindo em Ordem Crescente na Lista Encadeada
Inserindo em Ordem Crescente na Lista Encadeada

Similar to do_this and die();

Introduction to Writing Readable and Maintainable Perl (YAPC::EU 2011 Version)
PDF
Introduction to Writing Readable and Maintainable Perl (YAPC::EU 2011 Version)
Introduction to writing readable and maintainable Perl
PDF
Introduction to writing readable and maintainable Perl
Low maintenance perl notes
PDF
Low maintenance perl notes
Perl best practices v4
PDF
Perl best practices v4
Dealing with Legacy Perl Code - Peter Scott
PPT
Dealing with Legacy Perl Code - Peter Scott
First steps in PERL
PDF
First steps in PERL
Crash Course in Perl – Perl tutorial for C programmers
PPT
Crash Course in Perl – Perl tutorial for C programmers
Intro to Perl
PPTX
Intro to Perl
Perl University: Getting Started with Perl
PDF
Perl University: Getting Started with Perl
Php Cookbook Solutions Examples For Php Programmers 3rd David Sklar Adam Trac...
PDF
Php Cookbook Solutions Examples For Php Programmers 3rd David Sklar Adam Trac...
Perl
PPT
Basic perl programming
PPT
Basic perl programming
Perl Best Practices Reference Guide version 1.01.00
PDF
Perl Best Practices Reference Guide version 1.01.00
byego2
Perl Intro 3 Datalog Parsing
PPT
Perl Intro 3 Datalog Parsing
PerlIntro
PDF
PerlIntro
PerlIntro
PDF
PerlIntro
Cs3430 lecture 15
PDF
Cs3430 lecture 15
Unit VI
PDF
Unit VI
Perl 101
PDF
Perl 101
Getting started with c++
PPT
Getting started with c++
Introduction to Writing Readable and Maintainable Perl (YAPC::EU 2011 Version)
Introduction to Writing Readable and Maintainable Perl (YAPC::EU 2011 Version)
Introduction to writing readable and maintainable Perl
Introduction to writing readable and maintainable Perl
Low maintenance perl notes
Low maintenance perl notes
Perl best practices v4
Perl best practices v4
Dealing with Legacy Perl Code - Peter Scott
Dealing with Legacy Perl Code - Peter Scott
First steps in PERL
First steps in PERL
Crash Course in Perl – Perl tutorial for C programmers
Crash Course in Perl – Perl tutorial for C programmers
Intro to Perl
Intro to Perl
Perl University: Getting Started with Perl
Perl University: Getting Started with Perl
Php Cookbook Solutions Examples For Php Programmers 3rd David Sklar Adam Trac...
Php Cookbook Solutions Examples For Php Programmers 3rd David Sklar Adam Trac...
Perl
Basic perl programming
Basic perl programming
Perl Best Practices Reference Guide version 1.01.00
Perl Best Practices Reference Guide version 1.01.00
byego2
Perl Intro 3 Datalog Parsing
Perl Intro 3 Datalog Parsing
PerlIntro
PerlIntro
PerlIntro
PerlIntro
Cs3430 lecture 15
Cs3430 lecture 15
Unit VI
Unit VI
Perl 101
Perl 101
Getting started with c++
Getting started with c++

More from xSawyer

Asynchronous Programming FTW! 2 (with AnyEvent)
PDF
Asynchronous Programming FTW! 2 (with AnyEvent)
Moose - YAPC::NA 2012
ODP
Moose - YAPC::NA 2012
Our local state, my, my - Understanding Perl variables
PDF
Our local state, my, my - Understanding Perl variables
Your first website in under a minute with Dancer
PDF
Your first website in under a minute with Dancer
Moose talk at FOSDEM 2011 (Perl devroom)
ODP
Moose talk at FOSDEM 2011 (Perl devroom)
PerlDancer for Perlers (FOSDEM 2011)
PDF
PerlDancer for Perlers (FOSDEM 2011)
Perl Dancer for Python programmers
PDF
Perl Dancer for Python programmers
When Perl Met Android (YAPC::EU 2010)
ODP
When Perl Met Android (YAPC::EU 2010)
Perl Dancer on Android (first attempt)
PDF
Perl Dancer on Android (first attempt)
Source Code Management systems
ODP
Source Code Management systems
Moose (Perl 5)
ODP
Moose (Perl 5)
Red Flags in Programming
ODP
Red Flags in Programming
Asynchronous Programming FTW! 2 (with AnyEvent)
Asynchronous Programming FTW! 2 (with AnyEvent)
Moose - YAPC::NA 2012
Moose - YAPC::NA 2012
Our local state, my, my - Understanding Perl variables
Our local state, my, my - Understanding Perl variables
Your first website in under a minute with Dancer
Your first website in under a minute with Dancer
Moose talk at FOSDEM 2011 (Perl devroom)
Moose talk at FOSDEM 2011 (Perl devroom)
PerlDancer for Perlers (FOSDEM 2011)
PerlDancer for Perlers (FOSDEM 2011)
Perl Dancer for Python programmers
Perl Dancer for Python programmers
When Perl Met Android (YAPC::EU 2010)
When Perl Met Android (YAPC::EU 2010)
Perl Dancer on Android (first attempt)
Perl Dancer on Android (first attempt)
Source Code Management systems
Source Code Management systems
Moose (Perl 5)
Moose (Perl 5)
Red Flags in Programming
Red Flags in Programming

Recently uploaded

Webinar: Introduction to LF Energy SEAPATH
PDF
Webinar: Introduction to LF Energy SEAPATH
Case Study: How LKQ Corporation Improved Training Efficiency & Delivery
PDF
Case Study: How LKQ Corporation Improved Training Efficiency & Delivery
Odoo_by_Infinys_All_in_One_Business_Solution_for_Small_Companies.pptx
PPTX
Odoo_by_Infinys_All_in_One_Business_Solution_for_Small_Companies.pptx
Unveiling the Basics of Agentic AI - OSUG Mumbai
PDF
Unveiling the Basics of Agentic AI - OSUG Mumbai
Automating ArcGIS Enterprise Compliance for Operational Excellence
PDF
Automating ArcGIS Enterprise Compliance for Operational Excellence
Manage Logical Volume in RHEL - RHCSA (RH134).pdf
PDF
Manage Logical Volume in RHEL - RHCSA (RH134).pdf
Implement Advanced Storage in RHEL - RHCSA (RH134).pdf
PDF
Implement Advanced Storage in RHEL - RHCSA (RH134).pdf
Enhancing Web Security: Key Concepts & Strategies.pptx
PPTX
Enhancing Web Security: Key Concepts & Strategies.pptx
Upskill to Agentic Automation - Accelerating Your Job Search using AI
PDF
Upskill to Agentic Automation - Accelerating Your Job Search using AI
Cyber Security Quiz 1st Year CSE CS Students
PPTX
Cyber Security Quiz 1st Year CSE CS Students
AI and Linux in 2025 - Jay LaCroix, Learn Linux TV
PPTX
AI and Linux in 2025 - Jay LaCroix, Learn Linux TV
Analyze Servers and Get Support - RHCSA (RH124).pdf
PDF
Analyze Servers and Get Support - RHCSA (RH124).pdf
Bulwark Pokemon League Top 8 graphic archive
PPTX
Bulwark Pokemon League Top 8 graphic archive
Infuse Intelligence Into your App with Foundry Local
PDF
Infuse Intelligence Into your App with Foundry Local
Building powerful web apps to improve productivity and engagement - Esri UK W...
PPTX
Building powerful web apps to improve productivity and engagement - Esri UK W...
Digital Garage Certification - Google - Viktor Huszag - Online Marketing Fund...
PDF
Digital Garage Certification - Google - Viktor Huszag - Online Marketing Fund...
Install and Update Software - RHCSA (RH124).pdf
PDF
Install and Update Software - RHCSA (RH124).pdf
Reset RHEL Root User Password - RHCSA.pdf
PDF
Reset RHEL Root User Password - RHCSA.pdf
Tune System Performance - RHCSA (RH134).pdf
PDF
Tune System Performance - RHCSA (RH134).pdf
Explaining ourselves – people, computers and AI
PPTX
Explaining ourselves – people, computers and AI
Webinar: Introduction to LF Energy SEAPATH
Webinar: Introduction to LF Energy SEAPATH
Case Study: How LKQ Corporation Improved Training Efficiency & Delivery
Case Study: How LKQ Corporation Improved Training Efficiency & Delivery
Odoo_by_Infinys_All_in_One_Business_Solution_for_Small_Companies.pptx
Odoo_by_Infinys_All_in_One_Business_Solution_for_Small_Companies.pptx
Unveiling the Basics of Agentic AI - OSUG Mumbai
Unveiling the Basics of Agentic AI - OSUG Mumbai
Automating ArcGIS Enterprise Compliance for Operational Excellence
Automating ArcGIS Enterprise Compliance for Operational Excellence
Manage Logical Volume in RHEL - RHCSA (RH134).pdf
Manage Logical Volume in RHEL - RHCSA (RH134).pdf
Implement Advanced Storage in RHEL - RHCSA (RH134).pdf
Implement Advanced Storage in RHEL - RHCSA (RH134).pdf
Enhancing Web Security: Key Concepts & Strategies.pptx
Enhancing Web Security: Key Concepts & Strategies.pptx
Upskill to Agentic Automation - Accelerating Your Job Search using AI
Upskill to Agentic Automation - Accelerating Your Job Search using AI
Cyber Security Quiz 1st Year CSE CS Students
Cyber Security Quiz 1st Year CSE CS Students
AI and Linux in 2025 - Jay LaCroix, Learn Linux TV
AI and Linux in 2025 - Jay LaCroix, Learn Linux TV
Analyze Servers and Get Support - RHCSA (RH124).pdf
Analyze Servers and Get Support - RHCSA (RH124).pdf
Bulwark Pokemon League Top 8 graphic archive
Bulwark Pokemon League Top 8 graphic archive
Infuse Intelligence Into your App with Foundry Local
Infuse Intelligence Into your App with Foundry Local
Building powerful web apps to improve productivity and engagement - Esri UK W...
Building powerful web apps to improve productivity and engagement - Esri UK W...
Digital Garage Certification - Google - Viktor Huszag - Online Marketing Fund...
Digital Garage Certification - Google - Viktor Huszag - Online Marketing Fund...
Install and Update Software - RHCSA (RH124).pdf
Install and Update Software - RHCSA (RH124).pdf
Reset RHEL Root User Password - RHCSA.pdf
Reset RHEL Root User Password - RHCSA.pdf
Tune System Performance - RHCSA (RH134).pdf
Tune System Performance - RHCSA (RH134).pdf
Explaining ourselves – people, computers and AI
Explaining ourselves – people, computers and AI

do_this and die();

  • 1.
    I WILL KILL YOU AKA, do_this() and die; AKA, things that piss me off Sawyer X ( @PerlSawyer )
  • 2.
    WORDS OF CAUTION TIMTOWTDI Your mileage may vary No batteries included Don't drink and drive And lastly...
  • 3.
  • 4.
    REALLY STUPID STUFF $ , $ ,$ , $ , $ , $ , $ , $ a b i j k l m n ,ドル,ドル,ドル,ドル ,ドル,ドル$ f u c k y o u Trailing spaces STOP IT! $a,@ra,%ah vr ary hs
  • 5.
    TABS VS. SPACES The eternal struggle Do not mix tabs and spaces Do NOT mix tabs and spaces DO NOT mix tabs and spaces DO NOT MIX TABS AND SPACES! Best rule? No tabs, only spaces
  • 6.
    MISUNDERSTANDINGS m pwithout checking value a #mpEP,IT a XRLS m %gs =mp+ $ = $is$}'g' ) ky %is y ae a ( _ > kd{_{ae} , es kd; #mpBOKLS a LC IT m @otd=mp {$-[] y sre a _>0 } sr {$-[]<>$-[] } ot a>1 = b>1 mp {[,ドルceku(_ ]}@ie; a _ hcsm$) szs C-style f rf r a h o/ oec #frfrahLS o/oec IT m @is=q<en jf jh jci jmjh ja jn jd js> y kd wjny ef on ake i on on ue ue oh; fr(m $ =0 $ <@is $+ ){ o y i ; i kd; i+ sy">$is$]; a - kd[i" } frahm $i (kd){ oec y kd @is sy">$i" a - kd; } sy">$"fr@is a - _ o kd;
  • 7.
    SWITCHES i f (oe $n) {.} .. esf(to li $w) {.} .. esf(tre {.} li $he) .. es le {.} .. m %ipth=( y dsac $n oe = sb{.} > u .., $w to = sb{.} > u .., $he = sb{.} tre > u .., ) ; i (eit $ipth$nu}){ f xss dsac{ipt $ipth$nu}>..; dsac{ipt-(.) }es {.} le ..
  • 8.
    EMPTY IF CLAUSE i (smtig { f $oehn) #d ntig o ohn }es { le #teata wr h cul ok }
  • 9.
    RETURN VARIABLES m $eun y rtr; i (ti){ f $hs .. . $eun='hs; rtr ti' }esf(aohrtig { li $nte_hn) .. . $eun='ht; rtr ta' } rtr $eun eun rtr;
  • 10.
  • 11.
  • 12.
    GOTO HELL; NOT FOR WORKFLOW! #Clbljms ae up gt HL; oo EL #smweees oehr le HL: EL cniu_BxCascd(; otneDI_ls_oe) #oerdstecretfaei tesak vrie h urn rm n h tc #go,we ncsay od hn eesr gt &yfnto; oo m_ucin
  • 13.
    WHY? Because code is alive and grows Sometimes to ridiculous age You might not be the last And the next might know your address
  • 14.
  • 15.
  • 16.
    AN ODD ODE TO A SPECIAL SOMEONE...
  • 17.
    You are the air beneath my wings You are the sunlight in my garden And I am happy you are here
  • 18.
    And to Cluj.pm... I warned you!

AltStyle によって変換されたページ (->オリジナル) /