---
title: Rego Language Comparisons
subtitle: Learn Rego by comparison
labels:
  category: learning
inventors:
- styra
tutorials:
- https://docs.styra.com/opa/rego-language-comparisons
docs_features:
  learning-rego:
    note: |
      The [Rego Language Comparisons](https://docs.styra.com/opa/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](https://docs.styra.com/opa/rego-language-comparisons/java),
      [Python](https://docs.styra.com/opa/rego-language-comparisons/python),
      and [Go](https://docs.styra.com/opa/rego-language-comparisons/go) are currently covered.
---

The [Rego Language Comparisons](https://docs.styra.com/opa/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](https://docs.styra.com/opa/rego-language-comparisons/java),
[Python](https://docs.styra.com/opa/rego-language-comparisons/python),
and [Go](https://docs.styra.com/opa/rego-language-comparisons/go) are currently covered.
