design   1991802

« earlier    

Type Scale - A Visual Calculator
Preview and choose the right type scale for your project. Experiment with font size, scale and different webfonts.
typography  design  tools  Cool_things 
14 hours ago by tylerpaige
API Design Matters - ACM Queue
Old!
"Good APIs are Hard

We all recognize a good API when we get to use one. Good APIs are a joy to use. They work without friction and almost disappear from sight: the right call for a particular job is available at just the right time, can be found and memorized easily, is well documented, has an interface that is intuitive to use, and deals correctly with boundary conditions.

So, why are there so many bad APIs around? The prime reason is that, for every way to design an API correctly, there are usually dozens of ways to design it incorrectly. Simply put, it is very easy to create a bad API and rather difficult to create a good one. Even minor and quite innocent design flaws have a tendency to get magnified out of all proportion because APIs are provided once, but are called many times. If a design flaw results in awkward or inefficient code, the resulting problems show up at every point the API is called. In addition, separate design flaws that in isolation are minor can interact with each other in surprisingly damaging ways and quickly lead to a huge amount of collateral damage.

Bad APIs are Easy

Before I go on, let me show you by example how seemingly innocuous design choices can have far-reaching ramifications. This example, which I came across in my day-to-day work, nicely illustrates the consequences of bad design. (Literally hundreds of similar examples can be found in virtually every platform; my intent is not to single out .NET in particular.)

"
apis  design 
15 hours ago by earth2marsh

« earlier    

related tags

-  3d  adobe  alert  amazon  apis  app  architecture  architektura  art  attention  brooker  cad  charts  coffee  components  cool_things  create  creative  crpyto  css  css3  cycle  design-unity  development  ecommerce  economy  education  electronics  engagement  feel  font  fonts  free  furniture  fusion360  google  graphic-design  graphic  graphicdesign  graphics  hilarious  history  home  how-to  how  howto  html  ia  icons  ifttt  images  information  inspiration  interface  interior  javascript  js  kits  laser  layout  look  mac  machinery  machines  marketing  mechanical  mechanics  minimal  modern  modo  navigation  news  pattern  photoshop  pixel  postmodern  presentation  producthunt  prototyping  rant  restaurants  robotics  sketch  socialmedia  statistics  stem  stripe  tools  tu  twitt  twitter  type  typography  ui  user-interface  user  userexperience  ux  web-design  web-dev  web-development  web-programming  web  webdesign  webdev  white  wishlist  wood 

Copy this bookmark:



description:


tags: