by keeptrying · 16y ago · 0 comments
I dont feel that way about C though and its probably because of C++'s immense complexity. If everyone on your team has 7+ years of using C++ and most of its features on a day to day basis then I think you have a chance (however remote) of getting a clean maintainable system. If not you get a good ugly mess.
(And yes I've created a few myself, while learning this language :)
Also re: maintainability. C++ is completely maintainable, and built from the ground up for maintainability specifically in large projects.
Don't blame C++ for the sins of Microsoft (managed C++ extensions, DLL HEll, C++ COM interfaces, compiler support classes, 9 different string types). Don't blame C++ for the sins of gcc. At some point we need to distinguish between the (pure) LANGUAGE and the (often politically motivated) TOOLSET.
The better the tool you use the less stress it puts on you the builder.
Most of those sins were committed specifically to address weaknesses in C++.
A language without a first-class late-binding model is fundamentally broken. Don't blame Microsoft for trying, however ineffectively, to fix it.
With C++ and Qt on the other hand, it's very easy to write self-contained applications, also with a minimum amount of platform-dependent code.
This is quite easy to fix on linux. You compile a your required version of ruby beside the application that needs it.
/srv/<application>
src/
ruby/ <-- install ruby here with the proper flags
build-ruby.sh <--- custom script to download, build, and install ruby
I've done this as a matter of principle my own server. It allows me to swap out what ruby version I run my app on without messing with the ruby installed on the system.The bundler project is also trying to the gem problem by bundling gems with your application.