Giter Site home page Giter Site logo

Comments (3)

suve avatar suve commented on June 14, 2024

Three solutions come to my mind:

  1. Keep everything as updated as possible. If SDL2 removes something, we remove it as well. Leave it to users to upgrade or downgrade the Pascal units as needed.
  2. Keep old stuff around and just mark it as deprecated.
  3. As you proposed - keep old stuff around, but guarded by some IFDEF block. Add a section to the README to tell users what's going on and how to enable deprecated identifiers.

from sdl2-for-pascal.

Free-Pascal-meets-SDL-Website avatar Free-Pascal-meets-SDL-Website commented on June 14, 2024

What option do you prefer for our project?

from sdl2-for-pascal.

Free-Pascal-meets-SDL-Website avatar Free-Pascal-meets-SDL-Website commented on June 14, 2024

I made further research on this. I think it is safe to remove the conditional.

See https://stackoverflow.com/questions/27296111/is-possible-to-mark-an-entire-const-block-as-deprecated for reference. There are variables shown to be deprecated in an identical way for Delphi.

Originally posted by @Free-Pascal-meets-SDL-Website in #52 (comment)

from sdl2-for-pascal.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.