-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
151 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,3 @@ | ||
--pws=../aspell.en.pws | ||
--ignore=href,ffcode | ||
--ignore=ff,nospell,citet,citep | ||
--ignore=innoPic:pp | ||
--ignore=innoQuote:p | ||
--ignore=innoQuote:p | ||
--ignore=innoSnippet:p | ||
--ignore=innoBook:p |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
$pdflatex = 'pdflatex %O -interaction=errorstopmode -halt-on-error --shell-escape %S'; | ||
$latex = 'latex %O -interaction=errorstopmode -halt-on-error --shell-escape %S'; | ||
$clean_ext = 'crumbs'; | ||
$success_cmd = 'texqc && texsc'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
--ignore=You have requested document class | ||
--ignore=You have requested package | ||
--verbose |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--pws=../aspell.en.pws | ||
--ignore=href,ffcode | ||
--ignore=ff,nospell,citet,citep | ||
--ignore=pptPic:pp | ||
--ignore=pptQuote:p | ||
--ignore=pptQuote:p | ||
--ignore=pptSnippet:p | ||
--ignore=innoBook:p |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,115 @@ | ||
% (The MIT License) | ||
% | ||
% Copyright (c) 2023 Yegor Bugayenko | ||
% | ||
% Permission is hereby granted, free of charge, to any person obtaining a copy | ||
% of this software and associated documentation files (the 'Software'), to deal | ||
% in the Software without restriction, including without limitation the rights | ||
% to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
% copies of the Software, and to permit persons to whom the Software is | ||
% furnished to do so, subject to the following conditions: | ||
% | ||
% The above copyright notice and this permission notice shall be included in all | ||
% copies or substantial portions of the Software. | ||
% | ||
% THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
% IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
% FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
% AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
% LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
% OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
% SOFTWARE. | ||
|
||
\documentclass{article} | ||
\usepackage{../sqm} | ||
\newcommand*\thetitle{Tech Debt} | ||
\begin{document} | ||
|
||
\plush{\sqmTitlePage{14}} | ||
|
||
\pitch{\pptQuote{../05-maintainability-index/ward-cunningham.jpg}{Shipping first time code is like going into \emph{debt}. A little debt speeds development so long as it is paid back promptly with a rewrite. The danger occurs when the debt is not repaid. Every minute spent on not-quite-right code counts as interest on that debt.}{Ward Cunningham, \textit{Experience Report --- The WyCash portfolio management system}, OOPSLA, 1992}} | ||
|
||
\pptBanner{Puzzle Driven Development: Motivating Example} | ||
\begin{pptWide}{3} | ||
Commit \#1:\par | ||
{\scriptsize\begin{ffcode*}{highlightlines={5-9,14}} | ||
int fibonacci(int n) { | ||
if (n <= 2) { | ||
return 1; | ||
} | ||
// @todo I don't know | ||
// what to do when "n" | ||
// is larger than "2". | ||
// Implement it and uncomment | ||
// the assertion below. | ||
return 0; | ||
} | ||
assert fibonacci(0) == 1; | ||
assert fibonacci(2) == 1; | ||
// assert fibonacci(9) == 34; | ||
\end{ffcode*} | ||
} | ||
\par\columnbreak\par | ||
Commit \#2:\par | ||
{\scriptsize\begin{ffcode*}{highlightlines={8-10,15}} | ||
int fibonacci(int n) { | ||
if (n <= 2) { | ||
return 1; | ||
} | ||
if (n == 9) { | ||
return 34; | ||
} | ||
// @todo Implement others | ||
// too, but I don't know | ||
// how to do it right. | ||
return 0; | ||
} | ||
assert fibonacci(2) == 1; | ||
assert fibonacci(9) == 34; | ||
// assert fibonacci(10) == 55; | ||
\end{ffcode*} | ||
} | ||
\par\columnbreak\par | ||
Commit \#3:\par | ||
{\scriptsize\begin{ffcode*}{} | ||
int fibonacci(int n) { | ||
if (n <= 2) { | ||
return 1; | ||
} | ||
return fibonacci(n-1) | ||
+ fibonacci(n-2); | ||
} | ||
assert fibonacci(0) == 1; | ||
assert fibonacci(2) == 1; | ||
assert fibonacci(9) == 34; | ||
assert fibonacci(10) == 55; | ||
\end{ffcode*} | ||
} | ||
\end{pptWide} | ||
\plush{} | ||
|
||
\plush{\pptBanner{PDD Pipeline} | ||
\begin{tikzpicture}[node distance=7em, every edge/.style={line width=.1em, draw, ->}, every node/.style={fill=white}] | ||
\tikzstyle{actor} = [draw, line width=.1em,font={\Large},outer sep=.2em] | ||
\node[actor] (coder1) {Coder \#1}; | ||
\node[actor,right=of coder1] (git) {Git}; | ||
\node[actor,right=of git] (0pdd) {0pdd.com}; | ||
\node[actor,below=of 0pdd] (tts) {TTS}; | ||
\node[actor,left=of tts] (coder2) {Coder \#2}; | ||
\path (coder1) edge node {push} (git); | ||
\path (git) edge[bend left=30] node {webhook} (0pdd); | ||
\path (0pdd) edge[bend left=30] node {submit ticket} (tts); | ||
\path (coder2) edge[bend right=30] node {self-assign} (tts); | ||
\path (coder2) edge[dashed] (git); | ||
\end{tikzpicture}} | ||
|
||
\plush{ | ||
\pptBanner{Read this:}\par | ||
\small | ||
\textit{Automatically Prioritizing and Assigning Tasks from Code Repositories in Puzzle Driven Development}, | ||
Yegor Bugayenko, Ayomide Bakare, Arina Cheverda, Mirko Farina, Artem Kruglov, Yaroslav Plaksin, Giancarlo Succi, and Witold Pedrycz, | ||
Proceedings of the International Mining Software Repositories (MSR), 2022\par | ||
\href{https://www.yegor256.com/2010/03/04/pdd.html}{Puzzle Driven Development} (2010) \par | ||
} | ||
|
||
\end{document} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters