Jun 21 10:05
PostSharp?
Jun 21 10:04
oh yeah I remember aspect orientated programming, I think there was some precomplier thing for c# if you wanted to avoid reflection
Jun 18 21:53
if someone says "well.. you see it depends..." I just roll my eyes, pick a side buddy! these flames aint fanning themselves!
Jun 18 21:52
someone else can write "reflection is good because it saves on typing, all true programmers know that typing is the worst!" and you let the votes decide
Jun 18 21:50
then you just put your fingers in your ears and sing "lalallalalalala" while running away
Jun 18 21:49
ie reflection is bad, because its slow. Sure it make make serialising classes easy, but all true programmers know the fastest solution is always the best
Jun 18 21:49
But you can avoid it by specifying why the thing is bad
Jun 18 21:47
but I would agree the "it depends" answer is baked into the "is this good/bad (for all circumstances)" question
Jun 18 21:46
urg I hate that "load all the classes of type BaseClass/interface" stuff. Would prefer config over convention any day.
 
Jun 16 15:20
How many projects and how many independant programs are there?
Jun 16 15:16
im not up on java really, it looks like more folders than code to me
Jun 16 15:15
would you describ this as a mono repo?
Jun 16 12:43
or how and if they are helpful
Jun 16 12:42
you are stating these things but its not clear how they are achieved
Jun 16 12:03
ok so thats my answer to "why would a count of build steps have any effect on the repo count?"
Jun 16 12:02
is that a mono repo?
Jun 16 12:02
via CI in their own branches
Jun 16 12:02
then I make a CI in the root branch which pulls all the branchs and builds them one by one
Jun 16 12:01
and a branch for project B.. etc
Jun 16 12:01
then I make a branch ProjectA and upload all the projecvt A files
Jun 16 12:01
if I make a new repo with no files
Jun 16 12:01
let me give you an example
Jun 16 12:01
i dont know what you mean by that
Jun 16 12:00
because you have to have a working solution to whatever problem you think monorepo solves
Jun 16 11:59
you effectivly have two repos and two cis, you just have a master part that runs them both
Jun 16 11:58
at this point you might as well just have two repos
Jun 16 11:58
part 2 compiles the .net9 subset#
Jun 16 11:57
part 1 compiles the .net8 subset
Jun 16 11:57
"each CI run compiles everything"
Jun 16 11:56
ie "Project A cant use net9"
Jun 16 11:56
some projects will only compile in one framework, not both
Jun 16 11:55
"The build has two steps - one builds .NET 8 projects, .another .NET 9 projects.
"
Jun 16 11:54
..but you just said ....
Jun 16 11:53
obvs if you always have the same sub set of projects that get compiled together, with no overlap, you might as well split those into their own repo and just build them
Jun 16 11:52
when you only compile part of the sourcecode in the repo
Jun 16 11:52
that kind of the point behind the question
Jun 16 11:51
for me, it seems like conditional compilation strays into "might as well be a multirepo"
Jun 16 11:50
Well its up to you to define what you mean by monorepo
Jun 16 11:49
i guess we can allow caching
Jun 16 11:47
otherwise you could have your CI, pull branch bV1 and build with A
Jun 16 11:46
surely for monorepo to be meaningful the build has to include all sources, not binary references
Jun 16 11:46
I could write a CI run that pulls from multipel repos
Jun 16 11:45
the framework specific build of B produces a different binary depending on the framework
Jun 16 11:44
where compile time checks are run
Jun 16 11:44
yeah
Jun 16 11:43
there is no need to resolve conflicts
Jun 16 11:43
sure, but you will never work on D in main, it will always be in its own branch
Jun 16 11:42
C and A will not be in the same build
Jun 16 11:42
but you will have two builds first net8 with A and B and then 9 with C and B
Jun 16 11:41
it seems irellevant to be wheter you merge the branch or not if you make the merge a no-op and deploy D from the branch