Giter Site home page Giter Site logo

Comments (10)

maelle avatar maelle commented on June 15, 2024

@annakrystalli I was thinking about this whilst adding fixtures. It'd be nice to know at a glance which ones recycle info from say the client, and which ones don't.

from emodnetwfs.

maelle avatar maelle commented on June 15, 2024

I have been thinking about this again.

from emodnetwfs.

maelle avatar maelle commented on June 15, 2024

@annakrystalli @salvafern what's your take on this?

from emodnetwfs.

maelle avatar maelle commented on June 15, 2024

Related #53

from emodnetwfs.

salvafern avatar salvafern commented on June 15, 2024

Hi, I'm not aware of the best practices but seems like a valid point. Other packages use "download" instead of "get" indeed.

from emodnetwfs.

maelle avatar maelle commented on June 15, 2024

I was inspired by the Art of Readable Code where they wrote "Many Programmers are used to the convention that methods starting with get are 'lightweight accessors' that simply return an internal member."

But maybe we should follow ows4R lead to not confuse users 🤔

from emodnetwfs.

salvafern avatar salvafern commented on June 15, 2024

Well if you think it will improve the code readability I am all in!

from emodnetwfs.

maelle avatar maelle commented on June 15, 2024

Notes

  • Even if creating the client beforehand, emodnet_get_wfs_info() needs an internet connection because of guess_layer_format(). So maybe its name should contain "fetch"? (or download, I thought of fetch because it's a shorter word)

from emodnetwfs.

maelle avatar maelle commented on June 15, 2024
  • emodnet_get_layer_info() also performs a query.

from emodnetwfs.

maelle avatar maelle commented on June 15, 2024
  • emodnet_get_layers() also performs a query.

from emodnetwfs.

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.