[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
Ruby
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 10
Thread images: 1
File: ruby.png (68 KB, 393x346) Image search: [Google]
ruby.png
68 KB, 393x346
After years of development in Python I got to do some Ruby and, well... I liked it. Maybe more than Python in some ways. Is this bad? Is it going to turn me in a bad person, a drama queen hipster SJW with crazy hair?

I have some related questions: I'm learning Rails anyway but should I learn Hanami? What is Ruby's equivalent of SQLAlchemy?

Also, Ruby general, I guess.
>>
>>53807508
Ruby's ORM is ActiveRecord.
>>
>>53807548
Rails's default ORM is ActiveRecord*
>>
>>53807548
>>53807561
SQLAlchemy implements a different pattern of database access. It is more like Hibernate than ActiveRecord.
>>
http://rom-rb.org/
>>
>>53807508
>Maybe more than Python in some ways.
It's technically superior to Python in some ways. Mostly, when it comes to implementations. But let's not whitewash it either, it's still an ad-hoc project from the 90s.

>Rails vs Hanami
If you want to go for the job Rails, otherwise Hanami.
>>
>>53809210
The most ad hoc thing about Ruby is the default namespacing, or lack thereof.
>>
>>53809275
What about the foreach loop that doesn't end the counter variable scope?
>>
>>53809295
It's annoying, but unlike the namespacing it doesn't need fixing because #each is an easy to use replacement. They could just deprecate "for". Namespaces, you'd actually have to fix.
>>
>>53809354
Point taken.
Thread replies: 10
Thread images: 1

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.