Share your repls and programming experiences

← Back to all posts
Word Bank
benji10 (25)

This is a basically a duplicate of @IMayBeMe 's word bank, but it was so fun, I had to give it a try. I wrote it in node and stuff so it should be quicker? I hope. Also made it look nicer in my opinion. Haven't really tested this either, so there way be bugs, so yeah...
Edit: was a bug
Edit: fixed
Edit: added progress

Comments
hotnewtop
IMayBeMe (347)

This is great, it's definitely way quicker and smoother than mine which has turned out to be really slow. Also, I really think that the error message looks great and goes perfectly with the world bank.

benji10 (25)

@IMayBeMe OMG, thanks! It might not actually be faster, as it's not tested, but it's looking promising! 😃

IMayBeMe (347)

@benji10 Yeah, I still think it would probably be faster as python is an inherently slow language, and flask just makes it slower with post requests. From what I notice the delay is marginal with node.js so it probably will be faster

benji10 (25)

@IMayBeMe Yeah, that's what I'm hoping. I think the original seemed to be reloading? each time you added one in, which definitely slowed it down a lot.

IMayBeMe (347)

@benji10 I agree, my version reloads because it uses flask's post request which forces the page to reload which probably adds a lot more stress on the server.

benji10 (25)

@IMayBeMe Yeah, this one doesn't reload, just adds words to the HTML div things, so I'm hoping it'll be able to put up with a lot more. Fingers crossed. 🤞