I've never tried using it but it seems like a decent enough language. Though its creator has gone on record saying that if he had known about Scala he wouldn't have made Groovy.
@quartata Do be aware that code will be a mapobject, not a list. It will work exactly like a list if you use it like an iterator, but not any other way.
Cookies are being served! Sibling rivalry ensues! Each of the twins wants the maximum quantity of cookie. The problem is that the cookies are of somewhat different sizes, not surprising since they are home baked. SO you weigh each of the cookies and devise a program to help you allocate them to e...
Hmm, I'm not sure if I like the current way I have this set up. On the one hand, it means that everything is in binary strings which makes coding less of a pain in the ass, but on the other hand I think it would be faster to just use bitwise operators and leave it as an int.
Welcome to PPCG! Currently, as this question stands, the specifications are unclear and the question is badly designed. I recommend that you should delete this question, then post it in the Sandbox, where we can give you feecback on how to improve your challenge. Then this question can be reposted as a much better challenge. — TanMath1 min ago
> Welcome to PPCG. This should have been a code-golf, not a popularity-contest. popularity-contest should only be used in challenges where humans can score answers better than an quantitative scoring system.
@quartata It's hard to do more than the featured meta post we already have - new users who don't start with chat just won't know. The only thing I can think of is prefixing every question on main with "thanks to the users in the [sandbox] for all their help getting this question ready" but that might be overkill ;)
Okay, JavaScript question. Let's say I have a string "rule17text". How can I extract the number in the middle? I'd prefer to avoid using substr because "text" may also be "dead" or "alive".
I'm encouraged by reading the comments on this question where a brand new user responded very positively to feedback resulting in a much improved question.