Skip to content

added LionWebVersions 2025.1 and 2025.1-compatible #71

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 22, 2025
Merged

Conversation

enikao
Copy link
Contributor

@enikao enikao commented Apr 17, 2025

As of now, content is same as for 2024.1 / 2024.1-compatible

As of now, content is same as for 2024.1 / 2024.1-compatible
@enikao enikao requested review from dslmeinte and JojoEffect April 17, 2025 12:38
Copy link

github-actions bot commented Apr 17, 2025

Test Results

2 905 tests   2 903 ✅  3s ⏱️
    1 suites      2 💤
    1 files        0 ❌

Results for commit 2a6636b.

♻️ This comment has been updated with latest results.

Copy link
Contributor

@dslmeinte dslmeinte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't enjoy the code duplication, though! I get it why it's an obvious choice, but I'd much rather would have that there are some base classes that capture the commonality — which is currently 100% between 2024.1 and 2025.1, anyway — and so also clearly state the difference.

@enikao
Copy link
Contributor Author

enikao commented Apr 22, 2025

I don't enjoy the code duplication, though!

Yes, I agree. IMHO, there's no really good solution here -- either code duplication, or even more convoluted indirection. As the whole "externalize this logic from its actual place to version-specifics" already introduces a lot of indirection, I opted for cutting it here.

Another reason: Old versions should never change their behavior (outside of bug fixes), so it should be a very conscious decision to update old versions.

@enikao enikao merged commit f73a300 into main Apr 22, 2025
2 checks passed
@enikao enikao deleted the add-lw2025.1 branch April 22, 2025 17:23
@dslmeinte
Copy link
Contributor

I don't enjoy the code duplication, though!

Yes, I agree. IMHO, there's no really good solution here -- either code duplication, or even more convoluted indirection. As the whole "externalize this logic from its actual place to version-specifics" already introduces a lot of indirection, I opted for cutting it here.

I was thinking the same as disadvantage of DRY'ing the usual way.

Another reason: Old versions should never change their behavior (outside of bug fixes), so it should be a very conscious decision to update old versions.

Not that having the code duplicated, but still not protected against modification gives a solid guarantee.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants