Formatting and naming convention
This commit is contained in:
parent
0d0df75c87
commit
3d2e47f693
BIN
formatting.png
Normal file
BIN
formatting.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 35 KiB |
16
slides.tex
16
slides.tex
@ -2,12 +2,12 @@
|
||||
|
||||
% pdfpc slides.pdf --notes=right
|
||||
% comment out to disable notes
|
||||
%\setbeameroption{show notes on second screen=right}
|
||||
\setbeameroption{show notes on second screen=right}
|
||||
|
||||
\usetheme{metropolis}
|
||||
|
||||
\usepackage{outlines}
|
||||
|
||||
\usepackage{graphicx}
|
||||
\usepackage{minted}
|
||||
\setminted{fontsize=\footnotesize,samepage=true}
|
||||
%\usepackage{xcolor}
|
||||
@ -250,6 +250,18 @@ IntersectionBitSet intersections =
|
||||
\end{frame}
|
||||
\note{\dots not very readable}
|
||||
|
||||
\begin{frame}{Naming conventions and formatting}
|
||||
The project currently uses \texttt{camelCase}, \texttt{snake\_case}, sometimes with \texttt{m\_variablePrefixes} for member variables.
|
||||
|
||||
The solution? \texttt{clang-format}
|
||||
|
||||
\dots however, what formatting should be used?
|
||||
\begin{figure}
|
||||
\includegraphics[width=\linewidth]{formatting.png}
|
||||
\end{figure}
|
||||
\end{frame}
|
||||
\note{transistion to project management}
|
||||
|
||||
%code example
|
||||
\begin{frame}[fragile]{Hello, World!}
|
||||
\begin{minted}[linenos,autogobble]{c}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user