3 ms·
I beg your pardon, but what do you mean an API? This JavaScript library has an API, Application Programming Interface. Just use it.
by kyberias 12y ago
I beg your pardon, but what do you mean an API? This JavaScript library has an API, Application Programming Interface. Just use it.
- pc86 12y agoHe probably means REST API as that seems to have become the default meaning of API, unfortunately.
- kyberias 12y agoThat was something I suspected as well, but that doesn't seem to make any sense. Why would anyone want to use a REST API to select colors when a local lib with similar functionality exists?
- jjcoffee 12y agoYou are actually both mistaken. I'm quite sure he understands what a javascript library is. He is simply asking for a library with a similar API, with the qualification that the colors are not truly random, but contrast with each other in a significant manner. Don't be so hasty to conclude that someone is saying something stupid because you might not agree with the phrasing. Try and understand and add to the discussion if you're going to respond.
- swalsh 12y agoThanks, for standing up. This is exactly what I was saying.
- swalsh 12y agoI absolutely did not mean REST API. I've been doing this for 10 years, I know what a javascript library was. Why do programmers automatically default to assuming incompetence?
- collyw 12y agobecause the word API (referring to a REST API) seems to be one of the currently trendy ones in the tech churn, and is the answer to almost every problem that can't be fixed by a NoSQL database.
- swalsh 12y agoSorry, I guess technically, yes i'd like a javascript library. You kind of missed the point.