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

Convert Static functions into global functions #1

Open
luisvt opened this issue Dec 2, 2016 · 4 comments
Open

Convert Static functions into global functions #1

luisvt opened this issue Dec 2, 2016 · 4 comments

Comments

@luisvt
Copy link
Owner

luisvt commented Dec 2, 2016

It would be cool if you convert static functions into global functions. For example instead:

import 'package:file_utils/file_utils.dart';

main() {
  print(FileUtils.getCwd());
}

it would be better just to do:

import 'package:file_utils/file_utils.dart';

main() {
  print(getCwd());
}

or:

import 'package:file_utils/file_utils.dart' as fileUtils;

main() {
  print(fileUtils.getCwd());
}
@mezoni
Copy link
Collaborator

mezoni commented Dec 2, 2016

Is that still necessary for someone?

@mezoni
Copy link
Collaborator

mezoni commented Dec 2, 2016

Each of my project often depends on my other projects.
This means if I make correction in some my project then I'll have to make corrections in my other projects.

The problem is that the popularity (or unpopularity) of the Dart language aroused in me a reluctance to work with the that programming language.
I just don't want to waste my time.

Given the fact (if you believe the words of Kasper Lund), that Dart is the most quickly growing in the popularity language in Google, it should be expected in the near future the emergence of a large number of professional programmers from Google.

I think that their code will surpass the quality of my code by many times.
About the functionality I even did not want to say: "How an amateur like me will be able to compete with the professionals of Google?".

Compared to them, I am a louse that lives in underpants.

@luisvt
Copy link
Owner Author

luisvt commented Dec 6, 2016

I'll be more than happy if you transfer the ownership of this repo to me.

@mezoni
Copy link
Collaborator

mezoni commented Dec 7, 2016

Catch a repository, friend!

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

No branches or pull requests

2 participants