topic = type and type = topics[type] seems ver confusing

can we do topic = topic and type = types[topic] ?