Re:Scala 2.10 now available
by felipehummel on Friday January 04, 2013 @07:17PM
(#5010760)
How many times you do full recompile during a day? I'm curious because in my workflow I rarely do full recompile.
[ Parent
| on HN ]
Re:Scala 2.10 now available
by yummyfajitas on Friday January 04, 2013 @09:46PM
(#5011242)
If your project isn't properly encapsulated, incremental recompilation will often come close to a full recompile, or at least recompilation of a big chunk of code.
For example, if you delete AbstractFooBase.unusedMethod, sbt will recompile every file everywhere that references a concrete Foo instance.
(In principle it should only need to recompile files which reference unusedMethod, but it's not that smart yet.)