Arc Forumnew | comments | leaders | submitlogin
1 point by thaddeus 5114 days ago | link | parent

A few thoughts:

Trying to incorporate the news.arc code into another language is probably not a good path to follow, since all the code in news.arc is heavily dependent upon the core language and it's constructs or syntax. It's not like news.arc is a module or something with a ubiquitous interface.

Furthermore, If I were to create a news/forum in Ruby I would choose to use Ruby's constructs as opposed to trying to implement arc constructs that are not suited to the language. For example, in Ruby I would be using classes, where in Arc one would use templates. Each has a different approach to implementing the code and each would present a different set of challenges/options.

If you're just learning Ruby, I highly recommend learning how Ruby developers think. What's considered idiomatic for the language. Then just build it.

Honestly, even though much longer and harder, I would suggest as an option, you consider putting the other languages on hold, take some time to learn Arc and the ins/outs of news.arc, then go try to implement in Ruby, but in a more Ruby like approach.

I think you'll find the minute you try to figure out how to implement, for example, a template in Ruby that Ruby developers will guide you to a more idiomatic approach.



1 point by gimondarake 5114 days ago | link

Hello thaddeus,

First of all, thank you very much for your reply :)!

I have never touched Arc and news.arc, so maybe I shouldn't even try to incorporate the news.arc code into another language.

I have never received an advice like "Learning how Ruby developers think.", but I believe it is one of the best advice I have received (especially for a newbie like myself.)

Maybe I am trying do to everything when I should be focusing on one thing and learning slowly but surely.

-----