Formatting and naming convention

This commit is contained in:
Benedikt Galbavy 2025-01-14 16:23:03 +01:00
parent 0d0df75c87
commit 3d2e47f693
2 changed files with 14 additions and 2 deletions

BIN
formatting.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

View File

@ -2,12 +2,12 @@
% pdfpc slides.pdf --notes=right % pdfpc slides.pdf --notes=right
% comment out to disable notes % comment out to disable notes
%\setbeameroption{show notes on second screen=right} \setbeameroption{show notes on second screen=right}
\usetheme{metropolis} \usetheme{metropolis}
\usepackage{outlines} \usepackage{outlines}
\usepackage{graphicx}
\usepackage{minted} \usepackage{minted}
\setminted{fontsize=\footnotesize,samepage=true} \setminted{fontsize=\footnotesize,samepage=true}
%\usepackage{xcolor} %\usepackage{xcolor}
@ -250,6 +250,18 @@ IntersectionBitSet intersections =
\end{frame} \end{frame}
\note{\dots not very readable} \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 %code example
\begin{frame}[fragile]{Hello, World!} \begin{frame}[fragile]{Hello, World!}
\begin{minted}[linenos,autogobble]{c} \begin{minted}[linenos,autogobble]{c}