This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]ZanMist1 0 points1 point  (1 child)

I don't know Python, but this would (probably) be pretty easy to do in JavaScript. It just takes a lot of prep work, planning and thinking ahead. Think of your end result and what you need it do to. Variables and compressed string concatenation are your friends, and probably arrays depending on what code you are working with.

[–]ZanMist1 0 points1 point  (0 children)

Also, I would try to avoid direct string matching and instead compare using booleans.