From b5722e5d68184bf750606b28ab3d636a6571bc6b Mon Sep 17 00:00:00 2001 From: human154 <46430360+human154@users.noreply.github.com> Date: Wed, 18 Aug 2021 14:29:51 -0400 Subject: [PATCH] refine sentence structure about 600 to 1000 LOC --- hints/init.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hints/init.md b/hints/init.md index 1ee7f3750..268e0b354 100644 --- a/hints/init.md +++ b/hints/init.md @@ -29,7 +29,7 @@ If you want to do things more manually, you can run `elm make src/Main.elm` and Many folks get anxious about their project structure. “If I get it wrong, I am doomed!” This anxiety makes sense in languages where refactoring is risky, but Elm is not one of those languages! -So we recommend that newcomers staying in one file until you get into the 600 to 1000 range. Push out of your comfort zone. Having the experience of being fine in large files will help you understand the boundaries in Elm, rather than just defaulting to the boundaries you learned in another language. +So we recommend that newcomers stay in one file until you get to a file size of about 600 to 1000 lines. Push out of your comfort zone. Having the experience of being fine in large files will help you understand the boundaries in Elm, rather than just defaulting to the boundaries you learned in another language. The talk [The Life of a File](https://youtu.be/XpDsk374LDE) gets into this a lot more. The advice about building modules around a specific [custom type](https://guide.elm-lang.org/types/custom_types.html) is particularly important! You will see that emphasized a lot as you work through the official guide.