For optimal performance, you should rewrite it in Rust:
inline_python::python! {
print(js2py.eval_js("(number) => number % 2 ? 'odd' : 'even'")(number))
};
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
For optimal performance, you should rewrite it in Rust:
inline_python::python! {
print(js2py.eval_js("(number) => number % 2 ? 'odd' : 'even'")(number))
};