A
Alan Gutierrez
I'd like to try removing some stuff from an interface.
If it were C, I'd ifdef it. Then I could compile against the
older version, or the newer version by setting a compiler
switch. I could try the slimmed interface, but now worry about
losing the older interface.
In the end there are utilities I could use to help me make up my
mind, or I could leave the choice in.
Basically, I wrote the code, but I don't know if I want to
release it, and thus support it. However, I don't want to branch
SVN, and cut it out either, because I might want it after
experience with the release.
What do Java programmers do when they want to branch code in
this way? Is it a matter of creating a new branch in version
control?
If it were C, I'd ifdef it. Then I could compile against the
older version, or the newer version by setting a compiler
switch. I could try the slimmed interface, but now worry about
losing the older interface.
In the end there are utilities I could use to help me make up my
mind, or I could leave the choice in.
Basically, I wrote the code, but I don't know if I want to
release it, and thus support it. However, I don't want to branch
SVN, and cut it out either, because I might want it after
experience with the release.
What do Java programmers do when they want to branch code in
this way? Is it a matter of creating a new branch in version
control?