tag: 'Python libraries'

Narrow your search:

    Log in Sign up
    1 Matching Annotations
    1. Mar 2023
    2. stackoverflow.com stackoverflow.com
      Decorators in Ruby (migrating from Python)
      1
      1. TylerRick 07 Mar 2023
        in Public
        def document(f): def wrap(x): print "I am going to square", x f(x) return wrap @document def square(x): print math.pow(x, 2) square(5)
        Python decorator equivalent/analogous/alternative ways to do something between 2 libraries/languages/etc. Ruby
      Visit annotations in context

      Tags

      • Ruby
      • Python
      • equivalent/analogous/alternative ways to do something between 2 libraries/languages/etc.
      • decorator

      Annotators

      • TylerRick

      URL

      stackoverflow.com/questions/1891429/decorators-in-ruby-migrating-from-python
    Share:
    Group. Only group members will be able to view this annotation.
    Only me. No one else will be able to view this annotation.
    Hypothes.is
    • About
    • Blog
    • Bioscience
    • Education
    • Jobs
    • Help
    • Contact
    • Terms of Service
    • Privacy Policy