Uploaded image for project: 'Log4php'
  1. Log4php
  2. LOG4PHP-32

Refactor from using define to class contants

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.0.0
    • Code
    • None

    Description

      There is many places in the code where we can use class constants instead of define()'s. This will both improve readability and usage in my eyes in addition to a tiny speed improvement since defines are evaluated at runtime, while class constants are evaluated at compile time.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kurdalen Knut Urdalen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: