Uploaded image for project: 'Commons Functor (Dormant)'
  1. Commons Functor (Dormant)
  2. FUNCTOR-30

A catalog of reusable, composable, injectable, interface-compliant, immutable Predicates based on commons.lang utilities

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.0
    • 1.0

    Description

      The Predicate framework does not propose meaningful basic implementations for queries that have been deemed common enough by commons.lang to merit numerous utility methods (actually functions). This leaves developers with the work-intensive, error-prone, low-level task of recreating objectified variants of these utilities whenever they wish to pass such queries around in code. Moreover, the lack of these implementations encourages developers to use static code, which proliferates as a convention into their application code and may encourage the opposite of 'clean code' (and I have seen a truck-load of that). I would like to see the ASF set an example and provide a working set of basic components for developers OOTB.

      I am submitting an initial draft patch for a review of my basic idea. If I receive an approval, I will create a complete patch.

      Attachments

        1. predicates.patch
          15 kB
          Eitan Raviv

        Activity

          People

            Unassigned Unassigned
            eitanraviv Eitan Raviv
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 336h
                336h
                Remaining:
                Remaining Estimate - 336h
                336h
                Logged:
                Time Spent - Not Specified
                Not Specified