Skip to content
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

Minor refactor of core functionality #14

Merged

Conversation

pereBohigas
Copy link
Contributor

Hi again!!

Here is my proposal for a minimal refactoring of the core functionality.

Cheers!!

PD: In future steps, we could perhaps consider using the Swift Argument Parser for providing a detailed help.

Copy link
Member

@roddymunro roddymunro left a comment

Choose a reason for hiding this comment

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

LGTM!

Adding Swift's argument parser sounds like a good step IMO. Thanks again!

@roddymunro roddymunro merged commit 818d73f into appdecostudio:main Mar 31, 2024
1 check failed
@pereBohigas pereBohigas deleted the feature/core_functionality_refactor branch April 1, 2024 12:26
pereBohigas added a commit to pereBohigas/SwiftPolyglot that referenced this pull request Apr 1, 2024
* Move arguments check to a computed property

* Pass process info property as initializer parameter

* Define functions as type methods

* Format

* Move language codes parsing into a failable initializer
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