Re: Preferred language?

Benjamin Bruheim <[email protected]>
Newsgroups gmane.linux.distributions.gobo.general
Message-ID <CAHAMR8m_LKBmUYVaassdka1ddKANqGmna+++MHPxD+Uff-KP0g@mail.gmail.com>
You looked at the gobolinux tool code? It is surprisingly readable,
and a good reference if you need to write some real code. I agree that
in general that is true.

On Fri, Mar 27, 2015 at 8:00 PM, Sergio Tortosa Benedito
<[email protected]> wrote:
> What I don't like about bash it's the feel I have it's overused, it's great
> when you have to launch but if you have to do anything else (modify a
> variable in a certain way) the lack of language features makes necessary
> using programs for everything resulting in code which is far away from being
> readable.
> (Hint: the main use i will give this language is building "things" :P)
>
> El 27/3/2015 19:34, "Benjamin Bruheim" <[email protected]> escribió:
>
>> 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
>> >
>> _______________________________________________
>> gobolinux-users mailing list
>> [email protected]
>> http://lists.gobolinux.org/mailman/listinfo/gobolinux-users
>
>
> _______________________________________________
> gobolinux-users mailing list
> [email protected]
> http://lists.gobolinux.org/mailman/listinfo/gobolinux-users
>
_______________________________________________
gobolinux-users mailing list
[email protected]
http://lists.gobolinux.org/mailman/listinfo/gobolinux-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.