perladvent / perldotcom

The source code for Perl.com website
https://www.perl.com
77 stars 80 forks source link

Passing by #331

Closed thibaultduponchelle closed 2 years ago

thibaultduponchelle commented 3 years ago

Hello,

Here is a new article, the idea was about "passing args to sub by reference or by copy" then it expanded a bit around refs and aliasing.

I would greatly appreciate a technical and editorial review (as usual).

Please tell me also if the content is eligible for perl.com.

Thank you a lot

Thibault

thibaultduponchelle commented 3 years ago

I think this is the start of an interesting article, but needs a little bit of rearrangement and focus. What do you want the reader to know at the end of the article? Is there something that they need to do or stop doing? Figure that part out and build around that.

I don't want to give any lesson with this article but more to bring reader by the hand and make him an interesting and entertaining journey. It's more about general Perl culture and discovering syntax details than something else.

Also, I think this could benefit from a discussion of Perl's copy-on-write features. There are many things we've done historically to avoid excessive copying, such as passing scalar references, that we don't need to do anymore if we aren't going to modify the value.

Oh very good point for the COW :+1: thank you

I will come back ASAP with the edits, thank you for this review.

thibaultduponchelle commented 3 years ago

Added a paragraph for COW and symbolic refs.

The overall article has a better structure now :smiley:

oalders commented 2 years ago

Just browsing today -- maybe this article needs another round of review?

thibaultduponchelle commented 2 years ago

Just browsing today -- maybe this article needs another round of review?

Thank you @oalders 😄

I think the best is to let me first edit it one more time. Last time I checked I wanted to do some edits. But yes, overall it is almost ready.

briandfoy commented 2 years ago

I see this update. I'm about to be away for a couple of weeks, so let me get back to this then. If you don't hear more before the end of April, just ping me again.

thibaultduponchelle commented 2 years ago

@oalders Thank you a lot !! 🙏🏼

oalders commented 2 years ago

@briandfoy pinging you on @thibaultduponchelle's behalf. 😄

thibaultduponchelle commented 1 year ago

@briandfoy Can we publish it?

thibaultduponchelle commented 1 year ago

@dnmfarrell

briandfoy commented 1 year ago

Sorry for letting this languish. David has moved on from perl.com, and I was only really supporting whatever he was doing. Perl.com is basically unmaintained.

I've pushed this article to live and it's on Perl.com now. Thanks for your patience.

oalders commented 1 year ago

@briandfoy moving this repo over to the perladvent org might be a good way to get things moving again. We are already set up to edit, review and publish a large volume of posts.

briandfoy commented 1 year ago

@oalders: I'll support anything you'd like to do, but there are a few things to know:

If you want to do something, open another issue (or just email me) and I'll assist in any way I can.

thibaultduponchelle commented 1 year ago

Sorry for letting this languish.

No problem @briandfoy, thank you for your support