Preferences

arunix
Joined 169 karma

  1. Do you remember which video that was?
  2. Do you mean local variables per se, or mutable local variables? Clojure, like most Lisps has let.
  3. Recently, I wondered what would happen if two of these systems were set up doing mutual pair programming ...
  4. What does "slow to iterate on" mean?
  5. Is there something about .NET that makes this easier?
  6. Can you say more about how it's better than both?
  7. What are the IntelliJ alternatives you prefer?
  8. Also, the Query Object style, e.g. JOOQ and SQLAlchemy Core

    https://martinfowler.com/eaaCatalog/queryObject.html

  9. How much do you pay for Gemini 2.5 Pro?
  10. I didn't understand the vampire thing. That seemed like the least realistic part of the story.
  11. Could you add a diagram showing how castling works in this?
  12. What's the difference between Japan and developed?
  13. That syntax suggests the first pair will be flipped, and the rest will just be as they were, i.e. more like flip_first
  14. Consider

        % perl -v | head -2
    
        This is perl 5, version 40, subversion 0 (v5.40.0) built for x86_64-linux
        % 
        % perl -E 'use feature "switch"; my ($x, $y); given ($x) { $y = 1 when /^abc/ }'
        given is deprecated at -e line 1.
        when is deprecated at -e line 1.
    
    This is also mentioned in the docs:

      Smartmatch is now seen as a failed experiment and was marked as deprecated in Perl 5.37.10. 
      This includes the when and given keywords, as well as the smartmatch operator ~~. 
      The feature will be removed entirely in the Perl 5.42.0 production release.
    
    https://perldoc.perl.org/perldeprecation#Smartmatch

    >> In python you can't tell whats a variable and whats a list, and whats a dictionary by looking.

    In Perl, sigils are used to distinguish between scalars/lists/hashes. Sigils and references are not the same thing.

    https://www.perl.com/article/on-sigils

    https://perldoc.perl.org/perlreftut

  15. The key idea in CLOS is multi method dispatch, which Moose does not provide.

    Moose out of the box has its own set of problems, leading to other workarounds, e.g.

    Moo (a similar but much less bloated solution)

    MooseX::Extended - Moose with more sensible/correct defaults

    https://metacpan.org/dist/MooseX-Extended/view/lib/MooseX/Ex...

  16. OO in Perl is lower level compared to Java or C++, so e.g. instead of having a class construct, you have to simulate a class - typically by binding (blessing) a data structure to a namespace. Then any functions in the namespace become methods that can be called via the data structure (object).

    In practice, this has turned out to be a mixed blessing because of how tedious it is to do this repeatedly. So over the years there have been many libraries created to make this easier, each with different features.

    There's currently work underway to modernise Perl's built in OO to address these problems.

    On the other hand, this makes some things easier, e.g. Design by Contract can be added to Perl just by writing a library.

    Another example, adding traits to PHP required updating PHP itself, whereas in Perl there are libraries to do that.

  17. given/when are deprecated and will be removed in a future release.

    References are a PITA - cumbersome to use, and they make code less readable.

    Perl doesn't have first class functions (you can pass or return functions via references, but that's cumbersome and less readable compared to languages with better FP support).

  18. What did you mean by "viral"?
  19. Can you say more about how pry goes beyond the REPL?
  20. Perl had a similar motto ("Making Easy Things Easy and Hard Things Possible")

    https://books.google.com.sb/books?id=3Fc4DQAAQBAJ

  21. What are its advantages compared to a more dedicated job queue system?
  22. Moved on to ... what?
  23. There was such a project long time ago.

    https://boa-constructor.sourceforge.net/

  24. What's horrible about that?
  25. Would sortition be resistant to bribery/lobbying?
  26. Can you say more about the EC being awarded proportionally according to each state’s vote? Wouldn't that mean some state's vote won't matter?
  27. Why Golang / Postgres in particular?
  28. Is Aurora more stable than Fedora Kinoite?

This user hasn’t submitted anything.

Keyboard Shortcuts

Story Lists

j
Next story
k
Previous story
Shift+j
Last story
Shift+k
First story
o Enter
Go to story URL
c
Go to comments
u
Go to author

Navigation

Shift+t
Go to top stories
Shift+n
Go to new stories
Shift+b
Go to best stories
Shift+a
Go to Ask HN
Shift+s
Go to Show HN

Miscellaneous

?
Show this modal