CodeAnt AI home pagelight logodark logo
  • Support
  • Dashboard
  • Dashboard
Documentation
API Reference
Start Here
  • What is CodeAnt?
  • Join Community
Setup
  • Github
  • Bitbucket
  • Gitlab
  • Azure Devops
Pull Request Review
  • Features
  • Customize Review
  • Quality Gates
  • Integrations
Scan center
  • Code Security
  • Code Quality
  • Cloud Security
  • Engineering Productivity
Integrations
  • Jira
  • Test Coverage
  • CI/CD
IDE
  • Setup
  • Review
  • Enhancements
Rule Reference
  • 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
Resources
  • Open Source
  • Blogs
Lang

Best practice

enum_map_join

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

deprecated_calendar_iso_day_of_week_3

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

enum_map_into

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

deprecated_use_bitwise

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

deprecated_bxor_operator

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

deprecated_bnot_operator

The bitwise operator (^^^) is already deprecated. Please use Bitwise.bnot($VAL) instead.
SecurityCorrectness
twitterlinkedin
Powered by Mintlify
Assistant
Responses are generated using AI and may contain mistakes.