Comment by dorianmariecom Comment by dorianmariecom 19 hours ago 2 replies Copy Link View on Hacker News blocks are just procs :)
Copy Link Alifatisk 19 hours ago Collapse Comment - It does look like it but procs encapsulates a block, but a block alone is not a proc Reply View | 1 reply Copy Link kaiuhl 14 hours ago Parent Collapse Comment - That’s just a performance optimization because blocks are typically only invoked, not passed or otherwise manipulated. If you want to do anything with the block, you pay a tiny tax and have a Proc instance. Reply View | 0 replies
Copy Link kaiuhl 14 hours ago Parent Collapse Comment - That’s just a performance optimization because blocks are typically only invoked, not passed or otherwise manipulated. If you want to do anything with the block, you pay a tiny tax and have a Proc instance. Reply View | 0 replies
It does look like it but procs encapsulates a block, but a block alone is not a proc