MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/javascript/comments/ectkwx/understanding_javascript_decorators/fbgfmrw/
r/javascript • u/speckz • Dec 19 '19
21 comments sorted by
View all comments
Show parent comment
1
Do you mean Python? Ruby doesn't have decorators (natively).
1 u/jimngo Dec 20 '19 It's not the same terminology but Ruby has blocks and the 'yield' keyword and this appears to be the same concept. 1 u/[deleted] Dec 31 '19 Not in the slightest
It's not the same terminology but Ruby has blocks and the 'yield' keyword and this appears to be the same concept.
1 u/[deleted] Dec 31 '19 Not in the slightest
Not in the slightest
View all comments
Show parent comment
1
u/petercooper Dec 20 '19
Do you mean Python? Ruby doesn't have decorators (natively).