Re: Preferred language?
Benjamin Bruheim <[email protected]>
| Newsgroups | gmane.linux.distributions.gobo.general |
|---|---|
| Message-ID | <CAHAMR8=5NxiuWTivt7-aMd9GFyyMxvYuRDdhjiOPi_hfCnQQoA@mail.gmail.com> |
Many of the existing tools are written in shell scripting. I recommend looking at it because it is very well written. But since it is bash it interfaces with any other executable, so python is a good second pick. However if you intend to do stuff that involves a lot of calls into other executables/scripts or filesystem processing then you should consider bash. On Fri, Mar 27, 2015 at 1:39 PM, Sergio Tortosa Benedito <[email protected]> wrote: > Well I'm writing this e-mail because I want to know which languages do you > know/prefer since I might write some tools. > > *Python: pretty much industry standard > *Ruby: meant to be fun, higher DSL capabilites > *Lua: fast,small and also DSL capable (with some trickery) > And now some other which are not so known but interesting: > *Nim: Python + Pascal with the highest grade of metaprogamming I have ever > seen > *Crystal: Attempts to be compiled ruby. > The interesting thing about crystal is it's typing system which is a mix > between dynamic and static, it's dynamic because var=1; var="hello" > works,it's static because the variable's types are known at compile time. > > As anyone may infer, one feature I find interesting it's metaprogramming so > we can write a small DSL (Domain Specific Language) and simplify code. > > > Now my opinion: From the list the one less suited for the job it's Lua (it > lacks some syntax sugar,also lacks standard libraries with support for some > basic operations, and even though they exist, they are external). Python's > limitations in metaprogramming may make a disadvantage. > > Anyone having feedback or any suggestion feel free to answer. > > (PD: I'm sending this here because I find the devel list it's pretty much > dead) > > --Sergio > > _______________________________________________ > gobolinux-users mailing list > [email protected] > http://lists.gobolinux.org/mailman/listinfo/gobolinux-users >