I'm new to using Ruby and this tickled me pink
-
LLM is saying this is a feature of Rails and not particularly Ruby.
I was surprised Python didn’t have a years parameter but learned about
relativedelta(years=10)
You can add activesupport (I think that’s it) to get it if you don’t want to use all of rails.
-
LLM is saying this is a feature of Rails and not particularly Ruby.
I was surprised Python didn’t have a years parameter but learned about
relativedelta(years=10)
Yeah that feels like the kind of smartass thing Python would do.
-
LLM is saying this is a feature of Rails and not particularly Ruby.
I was surprised Python didn’t have a years parameter but learned about
relativedelta(years=10)
Yeah its a rails only thing. Rubys biggest issue is its much too intelligent for its own good. Its implicit rather than pythons explicit. Most of the time. That and it's hard to find out where Ruby starts and rails ends.
That being said I made a ton of good money on rails back about 15 or so years ago. Still excellent for starting out.
-
You can add activesupport (I think that’s it) to get it if you don’t want to use all of rails.
That's what I end up seeing for most ruby only scripts. It works!
-
This post did not contain any content.
People still use ruby?
-
This post did not contain any content.
Fuck Rails sideways
-
People still use ruby?
I just started a new php gig
-
This post did not contain any content.wrote last edited by [email protected]
This implies that integers in ROR are complex objects with properties that would be unhelpful in the majority of scenarios. Is that right?
-
This implies that integers in ROR are complex objects with properties that would be unhelpful in the majority of scenarios. Is that right?
Integers are just integers in ruby, with no structure backing them. They behave like objects, but only in some respects. You can call methods on them, but you can't extend individual numbers with properties for example (which would require them to have structure).
-
People still use ruby?
The handful of us have moved onto Crystal Lang. It's a statically type checked and compiled dialect of Ruby. Crystal is fun to write code, but the compiler is slower (compared to go-lang/rust)... because... well it's a ruby dialect (with DSL's)... and the 3rd party libraries are limited.
-
This post did not contain any content.wrote last edited by [email protected]
I'm gonna be honest, I never was drawn to python. I've been a professional developer for about a decade, and I've written all of one (1) python programs that I can remember (for my own personal use, mind).
-
The handful of us have moved onto Crystal Lang. It's a statically type checked and compiled dialect of Ruby. Crystal is fun to write code, but the compiler is slower (compared to go-lang/rust)... because... well it's a ruby dialect (with DSL's)... and the 3rd party libraries are limited.
This type checking, is it at run time?
-
I just started a new php gig
I fucking love PHP. I know I probably sound crazy to most developers, but PHP 8+ is freaking dope.
-
I fucking love PHP. I know I probably sound crazy to most developers, but PHP 8+ is freaking dope.
Yeah I was also pleasantly surprised having only heard about it before. Lots of good stuff
-
is rainbow Brite in porn?
ahahaha oh come on, the comment was clearly a joke. To be honest, I'd be far more interested in gothly serious sam on the left.
-
This post did not contain any content.
The Python won't give an accurate date here because it doesn't take into account leap years.
-
People still use ruby?
I had a coworker choose RoR for a major project despite the fact that he didn't know it, nobody on his team knew it, nobody at our company knew it, and nobody in the entire state knew it. It ended as one would expect, after three years and millions of dollars spent, with the only revenue it generated being $50K from the original client that had to be refunded to avoid a lawsuit.
-
This post did not contain any content.
How are the dataframe libraries on Ruby?
-
This type checking, is it at run time?
Its AOT compiled.
-
People still use ruby?