Sbt, for all it does weird, is the one tool you need. You don’t even need scala. It takes minutes to get going. Terribly convenient when onboarding new devs, setting up a new box, starting a workshop with 30 people not one of which took the time to go through the prerequisites
-
-
I'm not sure minutes is acceptable in general. I still see a clear distinction between development (handled by the IDE, or an ad-hoc set of composable tools in my case) and the build.
2 replies 0 retweets 1 like -
Replying to @propensive @NicolasRinaudo and
build is a team common and development is a developer local. Each developer should be able to use its own formatting
1 reply 0 retweets 1 like -
Replying to @redarqas @propensive and
Having wasted literal days to whitespace in code review, I disagree with this statement. I see where you’re coming from, mind, and used to agree, but it turns out having the team follow an agreed on code style and automate it is much less painful than the alternative
3 replies 0 retweets 6 likes -
Replying to @NicolasRinaudo @propensive and
We put it in the build because it's practical, not because it have to be.
1 reply 0 retweets 1 like -
Replying to @redarqas @propensive and
Well. I put it in the build because there currently is no reasonable alternative that I know of. Same goes for headers ((C) stuff in the corporate world), for example. But sure, if there were other alternatives, I’d certainly consider moving this stuff away from the build
1 reply 0 retweets 1 like -
Replying to @NicolasRinaudo @redarqas and
Incidentally, I've become quite disappointed with the whole idea of source-code formatting. I'm planning to rip it out of the Fury build as soon as other things stop being much higher priorities...
1 reply 0 retweets 0 likes -
Replying to @propensive @redarqas and
I hated the very idea with a passion, up until the time I started working in a team of people who could not agree among themselves (and, far worse, agree that I was right) about various formatting rules and would waste hours arguing about it during code reviews.
1 reply 0 retweets 1 like -
Replying to @NicolasRinaudo @redarqas and
I liked the idea, but never bothered to apply it until I started working in a team, and my regret has grown ever since...
1 reply 0 retweets 0 likes -
Replying to @propensive @NicolasRinaudo and
My take is that the best code reads like poetry, not prose. The form of the text can reveal symmetries that would otherwise be obscured, and I'm not confident this can be automated. My other take is that everyone should just adopt my formatting preferences.
2 replies 4 retweets 29 likes
I agree with your first take: I make a lot of formatting decisions based on a variety of criteria which I wouldn't want to have to encode algorithmically. Your other take is a terrible idea, obviously.
-
-
Replying to @propensive @tpolecat and
Sadly, most code is "found poetry"
0 replies 0 retweets 3 likesThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.