Hacker News new | past | comments | ask | show | jobs | submit login

Yes but I would expect my strings to behave as a scalar variable, not a list or set.

I prefer the Perl way of having one function push, and specifically referencing the list if you want it stored that way. That has caused me far less confusion in Perl than the Python way of doing things.




Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: