Live data from Hacker News

Genetic Algorithms in CoffeeScript

janmonschke.com

1–10 of 48 posts

Re: Genetic Algorithms in CoffeeScript

#6

Can't help this example could have been illustrated much more clearly in something other then CoffeeScript.

Out of all the languages to choose from it just had to be coffescript...

It's my main language for almost two years now ;)

Re: Genetic Algorithms in CoffeeScript

#7
post #4

Suggestion: TSP is a combinatorial optimization problem and isn't well suited to GAs. You would be much better off using a method meant for combinatorial optimization: notably ant colony optimization.

Thx for the hint :) The task originated from a task I had to do at university in Algorithms class as an introduction to GAs and I liked the simplicity of it.

Re: Genetic Algorithms in CoffeeScript

#8

Earlier quoted context omitted.

Out of all the languages to choose from it just had to be coffescript...

It's my main language for almost two years now ;)

First they ignore you, then they ridicule you, then they fight you...

...than u rule da web.

Re: Genetic Algorithms in CoffeeScript

#9

Earlier quoted context omitted.

Out of all the languages to choose from it just had to be coffescript...

It's my main language for almost two years now ;)

I'm not saying that it being your main language is bad, it's just the syntax is absolutely terrible to read and understand for those of us on C-style languages. If the point was to teach others, the vast majority of your audience is not going to be reading coffeescript and learning much.

Re: Genetic Algorithms in CoffeeScript

#10
post #4

Suggestion: TSP is a combinatorial optimization problem and isn't well suited to GAs. You would be much better off using a method meant for combinatorial optimization: notably ant colony optimization.

If you don't mind expanding a little, I'd be interested to know why they're not suited to combinatorial optimization, and what they are in fact more suited to?
Post reply on HN