2 ms·
I completely buy the idea "write everything in one language", even if I do it with a different language for completely different reasons. In general I think "u
by zwetan 12y ago
I completely buy the idea "write everything in one language", even if I do it with a different language for completely different reasons.
In general I think "use the best tool/language for the job" and anyway any tool/language will have pros and cons, nothing is perfect.
My context is I was a big ECMAScript fan, then I moved to use something called ActionScript 3.0 and there I just found the "right balance" between verbosity, correctness, speed, etc.
That's the work part, I use AS3 and AIR to build mobile app for iOS/Android.
Then there is the hobby part, in 2006 Adobe open sourced their ActionScript Virtual Machine (AVM2), I started to work on it (OSS project RedTamarin) in 2008 because I had this silly idea "it would be fun to run AS3 on the command line".
So, few months ago, with a not too bad release of this RedTamarin project, in the spirit of "use your own dog food" and trying to push the limit of what can be done with this open source project, I kind of decided to use only AS3 for all development, either work or home.
I don't do that because I think it is better or faster, but mainly to see how much I can reuse in code and logic, and if ultimately it make things easier for me (as any dev I'm lazy).
The result is quite interesting, so far I can run AS3 in shell scripts, as server side CGI, as command line tool, and tons of different use case I would have not necessarily explored if I didn't forced myself to use the same language for everything.
My point here is the same way you can learn a different programming language every few months/years to learn new stuff, there is also a value of forcing yourself to use only one programming language for everything.
In my case it forced me to explore some context deeper instead of taking them for granted, sure some ppl could say you waste your time because you're reinventing the wheel, but I would argue you learn a lot more when you try to know all the little details that make a wheel works :).
- aikah 12y agointeresting,I need to check it out,you should add a link to the project. I definetly like AS3,it's a good compromise between javascript and java.
- zwetan 12y agohere you go http://www.redtamarin.com/ http://www.redtamarin.com/ and the g+ community https://plus.google.com/communities/111596731002136630496 https://plus.google.com/communities/111596731002136630496 and yeah it's kind of why I'm doing that, AS3 is for me a good balance as a side note, the way redtamarin is implemented you have access to almost all POSIX C functions from AS3 which can also be seen as a "Friendly Dialect of C"