While using a single, complex #regexp seems like a time-saver to some people, it also makes breaking down transformations and validations into discrete, testable steps a lot harder. In #RubyLang, many String and Array methods are faster than their regexp counterparts, too.
I generally prefer to see code that is more testable rather than a really complex regexp that attempts to validate, capture, and transform within a single expression. YMMV.
@robbkidd Heck no! #RubyLang makes me happy. #Java is an example of a language I consider soul-sucking. I feel the same way about #JavaScript TBH, although #ES6 is less evil than many of the popular JS frameworks.
I'm just looking to pick up a new language that is commercially viable but neither painful nor a commodity skill. That's obviously going to solicit very opinionated answers, though.
#rubylang #java #javascript #es6
@skryking Personally, I will stick with #RubyLang until it's abandoned or a future version jumps the shark. Professionally, neither Ruby nor Rails is currently "new and shiny," and isn't really as commercially viable a skill as it used to be.
These things cycle. #PythonLang was a career dead-end until it re-emerged as the language of choice for NLP, various ML tools, and data sciece. Ruby's killer app was Rails, but that's not as highly sought these days as it once was.
@ruby_discussions As much as I dislike promoting anything #Java or Oracle related, I have to say that a lot of my #RubyLang code (so long as it doesn't require forking) runs ~1 gazillion times faster on #TruffleRuby than #CRuby even with #YJIT enabled. It's now my default for certain types of performance-oriented code, especially for threading.
#java #rubylang #truffleruby #cruby #YJIT
One of the talks that officially starts the #Ruby user-group in Santa Marta (https://x.com/rubysantamarta). I'm really excited! September 4th, 3.30pm @ Unimagdalena. Over the course of this week I'll be posting a video officially launching the user-group.
#RubySantaMarta #RubyOnRails #RubyLang #WebDev #Development #UserGroup #RubyGems #DevCommunity
#ruby #rubysantamarta #rubyonrails #rubylang #webdev #development #usergroup #rubygems #devcommunity
I've published an article in DEV: "Empowering Ruby in the World of Machine Learning". I hope you enjoy it and found it useful! 🤖 https://dev.to/rpaweb/empowering-ruby-in-the-world-of-machine-learning-337p
#ruby #rails #rubylang #rubyonrails #devcommunity #ml #machinelearning #ai #artificialintelligence #development #article #dev
#ruby #rails #rubylang #rubyonrails #devcommunity #ml #machinelearning #ai #artificialintelligence #development #article #dev
If you aren't already following @evilmartians you really should. They produce some really amazing #FOSS, especially for #RubyLang. If you haven't used their #RubyNext #transpiler or polyfills with older Rubies you're really missing out!
#foss #rubylang #rubynext #transpiler
August started pretty hard, work-wise, so, I'm delayed with the article, and, if I didn't publish it yet is because I don't want to release something that I'm not entirely satisfied with. I'm a "do it well or not at all" guy.
#ruby #rails #rubylang #rubyonrails #devcommunity
Exploring Genetic Algorithms with Ruby is in https://shortruby.com this week. It's still amazing how much interest this has generated in the community. I'm very grateful @lucian! 🙏🏼
#ruby #rails #rubylang #rubyonrails #genetics #algorithms #development #devcommunity #developers #dev
#ruby #rails #rubylang #rubyonrails #genetics #algorithms #development #devcommunity #developers #dev
@rpaweb Too right! I get annoyed at the number of recruiters who think #RubyLang and #RubyOnRails are synonyms.
@rpaweb #CrystalLang needs more love. It's designed to appeal to Rubyists, and is more like #RubyLang than #GoLang, but it's _not_ Ruby and has its own set of challenges. Elixir is interesting, but other than asdf does it even have a widespread version manager ecosystem?
Either could be good secondary topics, but interpreted vs. compiled is more generally useful to more people, I think. YMMV.
#crystallang #rubylang #golang
Sneak peek of the new DEV article:
"People must understand that Ruby is more than web development. Is above it. People think Ruby is Rails and is not. Actually, it's the other way around."
"Without Ruby there's no Rails. But Ruby as a language has more in its arsenal."
#ruby #rails #rubylang #rubyonrails #devcommunity #webdevelopment #ror #rubygems #developers
#ruby #rails #rubylang #rubyonrails #devcommunity #webdevelopment #ror #rubygems #developers
My article is in #RubyWeekly and I'm in shock. I never ever expected to reach the repercussion the article has gained. I am beyond grateful for everything, and with all of you that have read, liked and shared, and spread the word! 🙏🏼
rubyweekly.com/issues/664
#ruby #rails #rubylang #rubyonrails #devcommunity #article #genetics #algorithms #development #trending #trendingtopic
#rubyweekly #ruby #rubylang #rubyonrails #devcommunity #article #genetics #algorithms #development #trending #trendingtopic #rails
On StackOverflow, sometimes people want sed or awk solutions. I like *nix tools too, but #RubyLang just provides so much more power and flexibility that I can't help offering Ruby alternatives when I *know* there will be edge cases. I prefer to teach people to fish instead of just handing them a guppy.
The answer most likely exceeded the depth of the OP's interest, so we'll see if it collects any upvotes from the community.
I've published an article in DEV: "Exploring Genetic Algorithms with Ruby". I hope you enjoy it and found it useful! https://dev.to/rpaweb/exploring-genetic-algorithms-with-ruby-4lae
#ruby #rails #rubylang #rubyonrails #algorithms #genetics #geneticalgorithms #gen #crossover #mutation #elitism #development #webdev 🧬
#ruby #rails #rubylang #rubyonrails #algorithms #genetics #geneticalgorithms #gen #crossover #mutation #elitism #development #webdev
I have published an article in DEV: "Crafting a Ruby Gem: Empowering Developers One Gem at a Time". I hope you enjoy it and found it useful! https://dev.to/rpaweb/crafting-a-ruby-gem-empowering-developers-one-gem-at-a-time-5863
#ruby #rails #rubylang #rubyonrails #rubygems #ror #gem #devcommunity #devto #webdevelopment #webdev #development
#ruby #rails #rubylang #rubyonrails #rubygems #ror #gem #devcommunity #devto #webdevelopment #webdev #development
TIL that you can run #SinatraRb from the #RubyLang to #JavaScript Opal transpiler. How well this works when serving from a CDN cache or S3 bucket is...well, undefined for me at the moment. But it looks like a really neat idea to play with!
#sinatrarb #rubylang #javascript
Who you follow is your business. For myself, I try to follow as many #RubyLang coders and book authors as I can on this account, but if you know someone in the community I really ought to follow, suggestions are welcome.
Even if I don't accept all suggestions—I curate my feeds vigorously—I always appreciate personal recommendations, esp. those that say "why." Feel free to DM instead of reply-all if you don't want to make your suggestions public. As a security-minded person, I totally get that!
@noelrap I mentioned your upcoming #RubyLang 3.2 book in a recent #StackOverflow answer. Not sure if the topic is already covered in the book, but thought the OP's question about the behavior of Proc.new without a block changing in Ruby 3.0+ was interesting enough to mention if you're looking for additional material for your "Ruby Changes" appendix.
If it's not on topic for your book, that's fine. Just thought I'd pass it along.