aboutsummaryrefslogtreecommitdiff
path: root/docs/Coding.md
diff options
context:
space:
mode:
authorlizzie <lizzie@eden-emu.dev>2025-11-07 16:50:03 +0100
committercrueter <crueter@eden-emu.dev>2025-11-07 16:50:03 +0100
commit48843306e2ea51b95525a0a5f04d2afac3193176 (patch)
treea66f98a62f8d7d4472e823aa29de0cdb06dc4115 /docs/Coding.md
parent159482a7a99330d2b6d3b9a28a22316e0d8b6ca7 (diff)
[compat] Fix other DragonFlyBSD/NixOS issues (#2860)
Uh - the other pr that had "Fix dragonfly" got commits lost and I didn't notice... oops; cherry picked them back through :) Signed-off-by: lizzie <lizzie@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2860 Reviewed-by: crueter <crueter@eden-emu.dev> Reviewed-by: MaranBr <maranbr@eden-emu.dev> Co-authored-by: lizzie <lizzie@eden-emu.dev> Co-committed-by: lizzie <lizzie@eden-emu.dev>
Diffstat (limited to 'docs/Coding.md')
-rw-r--r--docs/Coding.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/Coding.md b/docs/Coding.md
index ec524cbbf8..8d02df4088 100644
--- a/docs/Coding.md
+++ b/docs/Coding.md
@@ -8,6 +8,8 @@ But for new developers you may find that following these guidelines will make ev
Simply put, types/classes are named as `PascalCase`, same for methods and functions like `AddElement`. Variables are named `like_this_snake_case` and constants are `IN_SCREAMING_CASE`.
+Except for Qt MOC where `functionName` is preferred.
+
Template typenames prefer short names like `T`, `I`, `U`, if a longer name is required either `Iterator` or `perform_action` are fine as well.
Macros must always be in `SCREAMING_CASE`. Do not use short letter macros as systems like Solaris will conflict with them; a good rule of thumb is >5 characters per macro - i.e `THIS_MACRO_IS_GOOD`, `AND_ALSO_THIS_ONE`.