Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Not that it necessarily applies here but any time I see hash rockets in a PR it just screams “an llm wrote this”


I write some ruby code for my job to automate some API testing stuff, where I use hash rockets exclusively.


You should know that using the hash rocket syntax has not been idiomatic Ruby since the new hash syntax was introduced in 2012. Unless your keys are not symbols, there’s no reason to use hash rockets.




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

Search: