I really like #rakulang, in theory, and would like to use it more, but whenever I have something to write, I still often end up with using #perl for it.
Just the latest example: I had to write a simple text-wrangling script that needed UUID generation. With Perl, I used App::Fatpacker to embed UUID::Tiny to make the script runnable just about anywhere without any extra dependencies, but there is nothing like that for Raku AFAIK and it just didn't seem worth it to do something more complicated.
No, I don't think we would have #Perl in our web browsers (and possibly everywhere else). But #JavaScript might have started less #Self-ish and a little more Perl-ish.
@mjgardner@Perl@BrendanEich There was a Mozilla project back in the day to migrate PHP, Python, and Perl to the browser at one point. It's a shame it didn't happen!
#Rakulang has some capability to do this with #WebASM but you don't get access to the DOM I don't think it's a maintained part of the Raku codebase. Also sad.
I created my first mobile app in #Golang using #Fyne . It's a very simple app for logging small ideas and to do tasks on my Android phone into simple text files. These are synced w/ #Syncthing to my Laptop. From there, a #RakuLang glue script adds them to my #Taskwarrior DB. I know, weird workflow. But I wanted to highlight how easy it is to build cross-platform mobile apps in Go now. Dont have to use the Android SDK.
Daughter seriously puzzled why one would create a programming language in which "almost spaces" are used to block statements. Apparently she experienced the #python FAFO during the coding class at middle school. I have no problem with this, after all #UDoU , but she is asking about #Java (introduced during the remote coding class during the first 2 years of the pandemic) & #javascript now. And this is NOT NORMAL OR OK.
I solved this day of #AdventOfCode in #Rakulang, which still looks fun, until I try to actually write it and discover once again that basically every operation has some weird footguny semantics. nevertheless, I’m quite happy with the final result, which looks nice and concise.
I've been asked to write an article for the #RakuLang advent calendar this year. I have a simple tutorial idea that I think will be good for beginners, and I swear to god I spent half the effing day yesterday fighting with ORM libraries and now I'm thinking "Fuck-it. I'll just write raw SQL."
Personally, I love SQL, but it feels kinda bullshit that that's where I ended up, and it's terrible for a beginner tutorial. Never-mind the fact that dramatically complicates the amount of code I'll need.
I just submitted a talk to the #Perl and #RakuLang track at #FOSDEM. Deadline for submission is tomorrow (Friday Dec 1st), and it's not too late to share! 😄
#Perl was always as “#Y2K compliant” as #C, but very naïve developers would sometimes use '19' . (localtime)[5] for the current year, thus the jokey name for the final #conference of the previous century.
> All of the reasons I migrated to Python are still valid today - it fits my mental model better
I think this is it. #Perl fits the way my brain works, so it's the language I reach for. I like that it doesn't feel like an obstacle, and allows me to express myself. This will be different languages for different people, and that's OK 🚀
I feel similarly towards #RakuLang, and although I'm less familiar, I liked how my brain felt in #Rust.
TPRF (The Perl and Raku Foundation) is organising a Raku & perl devroom at FOSDEM. Sadly, no booth for Raku & Perl. Still, plenty of interesting stands.
I think #Perl desperately needs private namespaces and and classes. Thus, you could create your own internal Customer class and never worry about stepping on other people's Customer class. So many other languages have this figured out. Perl should, too.
Couple this with lexical importing to avoid transitive dependencies and you're well on your way to building more scalable systems.
@profoundlynerdy#Perl and even more #Rakulang have unmatched #regex capabilities and #Unicode support for text processing. You can match very special text patterns, especially regarding multiple languages or scripts.
Example: find all numbers in a text in Arabic, Roman, Chinese or some other form but not in mixed scripts and with at least 3 graphemes (not characters, not codepoints, not bytes) @Perl
@duran Regex é igual coreano: enquanto você é analfabeto, parece uma coisa de outro mundo. Quando você não é mais analfabeto, ainda é difícil e cheio de truques, mas funciona. E pro que se propõe, ainda mais.
(aí é claro que eu faço meu comercial que existe regex, PCRE, e regex de #RakuLang, que são um nível acima rsrsrs)