4 ms·
I don't know why you are down voted. It is generally a (very) stupid idea to write such software in C. Yes I know Linus knows C well so he did it that way, but
by afsina 15y ago
I don't know why you are down voted. It is generally a (very) stupid idea to write such software in C. Yes I know Linus knows C well so he did it that way, but still..
- 0x12 15y ago> It is generally a (very) stupid idea to write such software in C. Is it? It isn't very common but that alone does not make it stupid. Why do you think it is stupid? From the README: "Half-arsed divelog software in C. I'm tired of java programs that don't work etc." What language would you use?
- lobster_johnson 15y agoI think Ruby would be a great language for this sort of app: Extremely high level, automatic memory management, sensible approach to OO, bindings to GTK and other GUI stuff, easy integration with C.
- parfe 15y ago>What language would you use? That's the wrong question. You should ask someone like that "What language did you use?" People complaining about the language are always talking about how they would have done it better. Not that they did it better.
- afsina 15y agoThe project in question is not the problem. Generally when you are writing an "application with gui also parsing xml" in C you will end up developing it in longer time because of - Memory management - Portability issues - Lack of libraries Because C/C++ allows you to make hard to detect errors easy. And does not usually stop you making stupid errors (such as simple initialization problems, syntax errors etc. because of lack of good IDEs). Maybe a bold claim, but if this would be a challenge, with a well defined problem, many less skilled java-python-ruby programmers would reach to the same level less than half the time.
- kmm 15y agoMost such software is still written in C. He should be being downvoted for a knee-jerk reaction against C, which is still very well suited for application software.
- afsina 15y agoWhich is a pitty. People lives under the C/C++ bubble for such long time.