Re: Preferred language?

Joel Roth <[email protected]>
Newsgroups gmane.linux.distributions.gobo.general
Message-ID <20150327194303.GA29642@sprite>
On Fri, Mar 27, 2015 at 01:39:17PM +0100, Sergio Tortosa Benedito 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.

Are you so flexible?
 
> *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.
 
I'm not a great critic of languages, but I've had lots of
fun with Perl, written/maintained a decent-sized app with its (20k
lines.) Interesting that it no longer makes people's
lists. I guess it's like brussels sprouts, people love it or
hate it.

There is also a community around a language, and an ecosystem of
libraries, so it's not just the language itself.

Debian has used perl quite a bit for administrative tasks.

cheers and happy hacking (in whichever language)

Joel

> 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


-- 
Joel Roth
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.