Learn Rego by comparison
The Rego Language Comparisons guide provides a series of examples illustrating how a policy can be expressed in a given language and the corresponding Rego code for comparison. Java, Python, and Go are currently covered.