CodeAnt AI home pagelight logodark logo
  • Dashboard
  • Dashboard
  • Documentation
  • Demo Call with CEO
  • Blog
  • Slack
  • Get Started
    • CodeAnt AI
    • Setup
    • Control Center
    • Pull Request Review
    • IDE
    • Compliance
    • Anti-Patterns
    • Code Governance
    • Infrastructure Security Database
    • Application Security Database
      • Apex
      • Bash
      • C
      • Clojure
      • Cpp
      • Csharp
      • Dockerfile
      • Elixir
        • Lang
          • Best practice
          • Correctness
          • Correctness
          • Security
        • Phoenix
      • Fingerprints
      • Generic
      • Go
      • Html
      • Java
      • Javascript
      • Json
      • Kotlin
      • Ocaml
      • Php
      • Problem-based-packs
      • Python
      • Ruby
      • Rust
      • Scala
      • Solidity
      • Swift
      • Terraform
      • Typescript
      • Yaml
    Lang

    Best practice

    Using Enum.map_join/3 is more efficient than using Enum.map/2 |> Enum.join/2.

    Calendar.ISO.day_of_week/3 is already deprecated. Please use Calendar.ISO.day_of_week/4 instead.

    Using Enum.into/3 is more efficient than using Enum.map/2 |> Enum.into/2.

    The syntax use Bitwise is already deprecated. Please use import Bitwise instead.

    The bitwise operator (^^^) is already deprecated. Please use Bitwise.bxor($LEFT, $RIGHT) instead.

    The bitwise operator (^^^) is already deprecated. Please use Bitwise.bnot($VAL) instead.

    SecurityCorrectness
    twitterlinkedin
    Powered by Mintlify