There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

programmer_humor

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

puckpuckpuckow , in Every language has its niche

deleted_by_author

  • Loading...
  • AnUnusualRelic ,
    @AnUnusualRelic@lemmy.world avatar

    Emacs enters the chat.

    Pipoca ,

    Emacs unfortunately uses Emacs lisp, not common lisp or scheme.

    Shareni ,

    There was that one attempt to rewrite Emacs in cl

    AnUnusualRelic ,
    @AnUnusualRelic@lemmy.world avatar

    And that didn’t work? I would have thought it would be quite popular.

    Shareni ,

    I think that Emacs itself was mostly implemented, but they couldn’t get people to rewrite all of their user generated content.

    AnUnusualRelic ,
    @AnUnusualRelic@lemmy.world avatar

    Oh, right. That makes sense.

    merc ,

    What are the main differences?

    Pipoca ,

    Emacs is a bunch older than common lisp.

    One of its more idiosyncratic design decisions was using dynamic scope, rather than lexical scope. They did add in per-file lexical scope, though.

    It also just doesn’t implement a lot of common lisp’s standard library.

    Shareni ,

    Not anymore

    QUANTUM COMPUTING

    andioop OP , in Is there anything we cannot learn from the wisdom of ancient Japan?

    Shamelessly stolen from a Reddit post that made me laugh when I randomly remembered it today. Figured it was worth reposting to Lemmy if I laughed upon remembering it and not just upon first sight.

    XpeeN ,

    Good human

    Opafi , in Is there anything we cannot learn from the wisdom of ancient Japan?

    Great, now I’ve got tea on my sweater…

    This really caught me by surprise.

    andioop , in If Architects had to work like Programmers

    “Dear Mr. Architect!” is such a charming start to the letter, sort of getting “kid’s letter to Santa” vibes if the kid dreamed of being an architect.

    Too bad the rest of the letter isn’t quite as charming :P

    random9 , in STOP USING GITHUB

    Is this copypasta yet?

    I DONT GIVE A FUCK ABOUT THE CODE!! WHY IS THERE CODE? JUST MAKE A FUCKING EXE FILE AND GIVE IT TO ME.

    who needs code, when all we need is exe files.

    funkless_eck ,

    I think it’s so popular because secretly everyone agrees

    firelizzard ,
    @firelizzard@programming.dev avatar

    Fuck that, I don’t trust executables unless they’re signed, downloaded securely (e.g. HTTPS), and I trust the source I downloaded them from. Anything else might as well be a virus. If I can’t find a signed binary from a trustworthy source, I’m either not using it or I’m going to build it myself (after skimming through the code).

    librecat , in Every language has its niche
    @librecat@lemmy.basedcount.com avatar

    I use ruby whenever I need a script, it’s super easy to work with other commands in ruby IMO.

    uis ,

    Bash

    qaz ,

    super easy to work with

    🤔

    librecat ,
    @librecat@lemmy.basedcount.com avatar

    I use bash when I need to feel pain.

    uis ,

    Bash to feel it

    loudWaterEnjoyer ,

    I use Ruby when I need to feel pain.

    ablandguy ,

    Remind me how to take arguments to the scripts 😑

    librecat ,
    @librecat@lemmy.basedcount.com avatar

    ARGV?

    SpeakinTelnet , in Every language has its niche
    @SpeakinTelnet@sh.itjust.works avatar

    One of the most known programming tool is built on Ruby, Github.

    MilderRichter ,

    GitLab also uses Ruby on Rails

    SpaceNoodle ,

    And it’s a pile of shit.

    git is great. GitHub blows chunks. The only reason it’s still big is that it sucks less than any other single platform.

    otl ,
    @otl@hachyderm.io avatar

    @SpaceNoodle I’ll always be sad how GitHub helped popularise centralised workflows. Such an amazing opportunity for a big cultural shift, but it didn’t go anyway as far as it could have.

    @programmer_humor

    technom ,

    Git owes a lot of its popularity to github. Without it, there’s a good chance that mercurial would have taken over. In addition, the centralized workflow was what made both git and github popular. It simplified git usage enough to let a lot of novices get started.

    I’m in no way a fan of centralization that github represents. But I think a decentralized workflow using git was a lost opportunity. People complain a lot about the git-email workflow. But I see no reason why it couldn’t have become as easy as using github if the effort spent on github was spent on git-email tools and user experience.

    arc , in Every language has its niche

    I wrote extensively in Ruby but for Rake - using Ruby as a build system. Can’t say I liked the language although it was okay for how we used it. We have 20 sub projects with some very complex build targets and dependency scanning going on and the Rake syntax was okay. Personally I think its biggest shortcoming was the documentation was very poor and stuff like gems felt primitive compared to other package management systems. One thing I liked from the language was blocks could evaluate to a value which I really use a lot in Rust too.

    I think if I were doing an acyclic dependency build system these days I’d use Gradle probably.

    As for Rails I expect failed to catch on because even compared to Python, Ruby is a slow language. And Python isn’t fast by any stretch. Projects that started with Rails hit the performance brick wall and moved to something else.

    FlorianSimon ,

    Why Gradle?

    arc ,

    We had tens of thousands of lines in our rake files to build a bunch of targets, none of which were even Ruby. I think if I needed to build another complex build system that was a directed acyclic graph I think I’d use Gradle, for a several reasons - we had some Java targets so we save on an additional developer runtime, it would run faster & Gradle is more mainstream and easy to get various plugins & documentation for.

    excel , in Typescript
    @excel@lemmy.megumin.org avatar

    What this shows is how terrible raw JS is, when all of this crap is required to fix all of the edge cases and make things actually work the way it’s supposed to.

    fidodo ,

    It only looks like this if you want compression and backwards compatibility. All compiled languages have output that is optimized for those things and not readability, but if you turn off minification and use a modern language target then the compiled typescript code will look almost identical to the original code.

    cheet , in Every language has its niche

    Metasploit and Gitlab are both my main uses of ruby, hasn’t made me think any better of it tho.

    caleb , in Every language has its niche

    As a Rails engineer with 14 years experience, I can say the place that should be in the 3rd panel is Shopify. They employ so many ruby and rails core committers and directly fund a good many rails gems, and ruby community infrastructure it’s insane. They’re also directly funding the development of things like the YJIT and speed enhancements to MRI itself.

    Then there’s all the other places I know or worked at built on Ruby where my other long tenured ruby friends work.

    • Gusto
    • Airbnb
    • Clearbit
    • Stripe
    • Github
    • Gitlab
    • Bold Penguin
    ComradeKhoumrag ,
    @ComradeKhoumrag@infosec.pub avatar

    Ruby was recommended to me by my comparative programming languages professor. I haven’t picked it up, but there were memes that this professor was so good at programming he was secretly built by the university in C++ to teach students how to write better code.

    merc ,

    It’s worth learning Ruby to understand some of the tricks you can do in programming languages.

    Did your prof also recommend others like Lisp?

    Lulzagna ,

    Basecamp

    rambaroo ,

    Aha asks for Ruby on rails experience in their job listings, so they must be using it as well

    merc , in Every language has its niche

    Ruby -> Rails.

    It just hasn’t had a second revival.

    ILikeBoobies , in Every language has its niche

    I would say wordpress over Facebook for pho

    dan , (edited )
    @dan@upvote.au avatar

    Yeah…

    Facebook hasn’t used PHP for a long time. They use Hack which started as a language similar to PHP, but it’s very different now - it’s strongly-typed and has a bunch of advanced features, like the ability to annotate functions as pure (no side effects), which gets enforced by the type checker.

    BrianTheeBiscuiteer , in Every language has its niche

    Puppet says hello.

    mvirts , in Every language has its niche

    Gitlab

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines