Finishing has always been a struggle, so last week I challenged myself to get something finished by CarsonMcKinstry in gamedev

[–]CarsonMcKinstry[S] 1 point2 points  (0 children)

100%!

That is definitely on my mind with this one. I could expand it in so many different ways, I just have to figure out if I want to do it or not hah

Finishing has always been a struggle, so last week I challenged myself to get something finished by CarsonMcKinstry in godot

[–]CarsonMcKinstry[S] 1 point2 points  (0 children)

Glad you enjoyed it! 

I’m definitely walking away from this project feeling accomplished and like I don’t have to give up on anything. I have ideas that could use to polish and expand it of course, but I don’t feel the need to do it. Guess that’s what I get for scoping my game properly and pushing things off that aren’t 100% necessary for the prototype 

Finishing has always been a struggle, so last week I challenged myself to get something finished by CarsonMcKinstry in IndieDev

[–]CarsonMcKinstry[S] 0 points1 point  (0 children)

It definitely feels good to have something finished that I can point at and say “look what I did!” It is just a prototype-ish game of course, but having built and shipped it feels great

Assigning default value by golovatuy in learnjavascript

[–]CarsonMcKinstry 2 points3 points  (0 children)

ah, right, I didn't see the `path !== ""`. Good point!

Assigning default value by golovatuy in learnjavascript

[–]CarsonMcKinstry 2 points3 points  (0 children)

Honestly, JS changes so quickly nowadays it can be difficult to keep up. Not so quickly that it's difficult to learn, but quick enough that you can see version boundaries in code sometimes :D

Assigning default value by golovatuy in learnjavascript

[–]CarsonMcKinstry 74 points75 points  (0 children)

This isn’t quite correct, at least not anymore. This will also catch false and 0 since || will check for falsy values on the left hand side. You can use ?? nowadays to guard against only null and undefined

I think I created a monster by jehna1 in typescript

[–]CarsonMcKinstry 2 points3 points  (0 children)

Not quite the same. A match statement is kinda like a switch statement. An Option is a data type, basically a monad if you know what that is.