This conditional compile is starting to become a pet peeve for me. I am
sorry but I just need to get it done and a preprocessor gets it done
without any runtime cost and it doesn't leave it in the hands of a
compiler. People need to leave the OOP at the door and get on with it
or they will never ship. Even C# has it and as far as I have seen, C#
fixes a lot of issues that Java has. Even Sun put a preprocessor in
NetBeans for j2me. RIM has one for their rapc compiler.
Leigh
These are small embedded systems where people are told not to use
interfaces and function calls and make
On 5/19/2010 9:11 PM, Indicator Veritatis wrote:
Concerning your proposal of conditional compilation: I had an
interesting conversation with someone who had worked at Javasoft for
many years. I asked him specifically what they were thinking when they
decided not to include conditional compilation in Java. His answer was
that the proper Java, OOP approach to the main use of conditional
compilation, accomodating a variety of platforms, is different
implementations of the same interface.
Now concerning your example, beta vs. non-beta, personally, I would
not dream of making this distinction by using conditional compilation.
Rather, this is a natural task for revision control: once the Beta has
been released, that code must be checked in/committed to a definite
revision in the depository, so that you can revert to it at any time.
OTOH, using the computer's camera as the emulator's camera sounds like
a great idea.
On May 19, 2:41 pm, "[email protected]"
<[email protected]> wrote:
I think Google should make an effort to improve the android developer
tools. Here I write some things I think need to take in account:
- Fix problems of communication between IDE and emulators
- Add support to conditional compilation #IF,#ELSE,#ENDIF (I wan't to
have 2 versions in the same proyect ... beta and non beta, free and
paid, etc.)
- Add support to add custom views to viewlist in IDE
- Is there any way to add voice recognition? It is a feature that I
would love to have to experiment with, but I can't since I don't have
an Android mobile yet. I would REALLY love to have it.
- Allow a downloadable version of Help in which we can search ... in
one document to easy the things. (It is a shame, but I don't have
Internet at home).
- Update Help with in-help samples, more documented constants, add an
appendix to services, and messages and more internal stuff from the
OS.
- Add support to C/C++ by adapting the eclipse or using another IDE. I
feel guilty for wasting so many resources by using an intermediate
code. I would not like to have a 1GHz processor and use it as if it
where a 100MHz. And yes, leakage memory problems in C, C++ ... it is a
problem, but it is worth the effort, and having in count how much code
there is for C/C++
- I would be nice that I could use the camera of my Computer in the
emulator :)
Thanks in advance,
Ricardo A.B.
:)
PS. If you agree sign up please or add things you see it would be
useful to have.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group
athttp://groups.google.com/group/android-developers?hl=en
--
Leigh McRae
www.lonedwarfgames.com
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en