Deciding when to adopt a polyglot approach