Coder Social home page Coder Social logo

Redesign about libunftp HOT 7 CLOSED

alu avatar alu commented on August 15, 2024
Redesign

from libunftp.

Comments (7)

hannesdejager avatar hannesdejager commented on August 15, 2024

Hi Alu

Thanks for taking the time to try and improve the code. Simplification is a good thing.

You approach may work and it seems simpler. A couple of comments:

  • Currently your suggestion doesn't seem to compile?
  • I like the seperated respond method en the elimination of the extra channels.
  • The respond method is way to long, this will need to be split up.

I'll look more into it once it compiles.

from libunftp.

alu avatar alu commented on August 15, 2024

@hannesdejager Hi, thank you for reply.

Currently your suggestion doesn't seem to compile?

Did you clone my repository and compile? I can compile the repository in my environment.

$ rustc --version
rustc 1.37.0 (eae3437df 2019-08-13)
$ cargo build
    Finished dev [unoptimized + debuginfo] target(s) in 0.05s

The respond method is way to long, this will need to be split up.

I think that is generally desirable.
However, current style be nice for code locality because Command so many.
Why don't you switch to my design at the first, and then split if you want?

from libunftp.

alu avatar alu commented on August 15, 2024

@hannesdejager
All of commands had implemented.
There is other necessary thing?

from libunftp.

hannesdejager avatar hannesdejager commented on August 15, 2024

Hi @alu, sorry for the delayed reply. I've been on holiday. Inititally I didn't clone your repository but pulled your master into my repository. This failed compiling. However when I cloned your repository it worked and I was able run to basic smoke tests.

So, how about you create a pull request with your changes and then I can discuss it with the libunftp team on Friday (we work on libunftp every Friday).

Sounds OK. Please create a pull request then we take it from there.

from libunftp.

alu avatar alu commented on August 15, 2024

@hannesdejager Hi. I created PR in #25. Please check it out ;D

from libunftp.

hannesdejager avatar hannesdejager commented on August 15, 2024

Cool!, we'll have a look and discuss on Friday. Thanks for contributing.

from libunftp.

hannesdejager avatar hannesdejager commented on August 15, 2024

Closing since we didn't get far with the PR and the code changed tremendously.

from libunftp.

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.