5 ms·
Haha I was waiting for this comment, thanks
by goksan 2y ago
Haha I was waiting for this comment, thanks
- piterrro 2y agoI was about to ask the same question, would you mind sharing more context why did you decided to go with a single 14k main.go file?
- wegwerfaccount 2y agoPerhaps because we’re on hacker news and not software architect news?
- fuzztester 2y agoI would hire you in a flash, if I was a hirer and had a job to hire you for ;)
- superq 2y agoFor a single dev, a single file is often far more efficient than jumping between files.
- goksan 2y agoI’ve had a good experience with it. I’ve been jumping around by function.
- datascienced 2y agoIn Elm in particular it is idiomatic
- goksan 2y agoI initially thought the project was going to be much smaller. I was happy with how things were going in that file and didn’t feel a need to add more files. I’d probably do it again on a solo project.
- piterrro 2y agoThanks that's what I thought. Do you have any specific way of navigating that file or use a functions outline for that?
- goksan 2y agoJumping around by function: https://code.visualstudio.com/docs/editor/editingevolved#_go-to-symbol https://code.visualstudio.com/docs/editor/editingevolved#_go...