From 7d8b7435c5b71d59604b9737255813e555c2d4d0 Mon Sep 17 00:00:00 2001 From: Jared Tobin Date: Wed, 28 Aug 2019 13:29:50 -0230 Subject: [PATCH] contributing: add hoon style guide link --- CONTRIBUTING.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 9eecae2f1d..206133d273 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -142,9 +142,11 @@ compound statement. One thing to watch out for is top-level sections in source files that are denoted by comments and are actually indented one level. -Hoon will be a less familiar language to many contributors. Until we publish -an 'official' style guide, the best advice is again to mimic the code around -you. In general: the more recent the code, the more standard the style. +Hoon will be a less familiar language to many contributors. We've published +some [style guidelines for Hoon][hoon], but above all you should try to mimic +the style of the code around you. With regards to the style used throughout +the codebase: the more recently the code was written, the more standard and +accepted its style is likely to be. ## Kernel development @@ -241,3 +243,4 @@ Questions or other communications about contributing to Urbit can go to [repo]: https://github.com/urbit/urbit [reba]: https://www.atlassian.com/git/tutorials/merging-vs-rebasing [issu]: https://github.com/urbit/urbit/issues +[hoon]: https://urbit.org/docs/learn/hoon/style/