Often there is a simpler solution
When NASA started sending astronauts into space, they quickly discovered that ballpoint pens would not work at zero gravity. To combat the problem, NASA scientists spent a decade and $12 billion developing a pen that wrote at zero gravity, upside down, underwater, on almost any surface including glass and at temperatures ranging from below freezing to 300C.
The Russians used a pencil. BOOM!!!