Click here to Skip to main content
15,886,919 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Should libraries have a standard API and naming convention? Pin
jschell14-Jun-23 6:21
jschell14-Jun-23 6:21 
GeneralRe: Should libraries have a standard API and naming convention? Pin
resuna14-Jun-23 12:03
resuna14-Jun-23 12:03 
GeneralRe: Should libraries have a standard API and naming convention? Pin
jschell14-Jun-23 5:57
jschell14-Jun-23 5:57 
GeneralRe: Should libraries have a standard API and naming convention? Pin
BernardIE531714-Jun-23 0:54
BernardIE531714-Jun-23 0:54 
GeneralRe: Should libraries have a standard API and naming convention? Pin
Graeme_Grant14-Jun-23 2:14
mvaGraeme_Grant14-Jun-23 2:14 
GeneralRe: Should libraries have a standard API and naming convention? -> Nope Pin
brompot14-Jun-23 3:45
professionalbrompot14-Jun-23 3:45 
GeneralRe: Should libraries have a standard API and naming convention? -> Nope Pin
Dan Sutton14-Jun-23 9:15
Dan Sutton14-Jun-23 9:15 
GeneralRe: Should libraries have a standard API and naming convention? Pin
SeattleC++14-Jun-23 5:07
SeattleC++14-Jun-23 5:07 
The four file-reading functions you list do different things. It is less confusing to name them different things than it is to figure out how to overload the name for different kinds of file-reading.

There are different pairs of English words you could use (get/set, get/put, load/save, read/write) with little reason to pick one set over another.

And while we're being English-centric, shouldn't an API standard support multiple human languages and character sets? Does that sound like too much? Well, then no standardization for you.

Three of your four reasons there are multiple names for things (compatibility, bag-of-parts, program-flow) are actually good reasons why interface names are not consistent. We have to predict the future to pick the perfect name, and we're no good at that.

I welcome your bold solution to these problems, but don't expect to hear back soon.

GeneralRe: Should libraries have a standard API and naming convention? Pin
dandy7214-Jun-23 6:52
dandy7214-Jun-23 6:52 
GeneralRe: Should libraries have a standard API and naming convention? Pin
Juan Pablo Reyes Altamirano14-Jun-23 5:58
Juan Pablo Reyes Altamirano14-Jun-23 5:58 
GeneralRe: Should libraries have a standard API and naming convention? Pin
dandy7214-Jun-23 6:49
dandy7214-Jun-23 6:49 
GeneralRe: Should libraries have a standard API and naming convention? Pin
Chris Maunder14-Jun-23 6:57
cofounderChris Maunder14-Jun-23 6:57 
GeneralRe: Should libraries have a standard API and naming convention? Pin
dandy7214-Jun-23 7:06
dandy7214-Jun-23 7:06 
GeneralRe: Should libraries have a standard API and naming convention? Pin
StatementTerminator14-Jun-23 7:02
StatementTerminator14-Jun-23 7:02 
GeneralRe: Should libraries have a standard API and naming convention? Pin
dandy7214-Jun-23 7:09
dandy7214-Jun-23 7:09 
GeneralRe: Should libraries have a standard API and naming convention? Pin
StatementTerminator14-Jun-23 7:32
StatementTerminator14-Jun-23 7:32 
GeneralRe: Should libraries have a standard API and naming convention? Pin
Dan Sutton14-Jun-23 9:14
Dan Sutton14-Jun-23 9:14 
GeneralRe: Should libraries have a standard API and naming convention? Pin
Member 1201067716-Jun-23 1:42
Member 1201067716-Jun-23 1:42 
GeneralRe: Should libraries have a standard API and naming convention? Pin
Michael Rockwell 202127-Jun-23 9:24
Michael Rockwell 202127-Jun-23 9:24 
GeneralRe: Should libraries have a standard API and naming convention? Pin
Chris Maunder28-Jun-23 3:35
cofounderChris Maunder28-Jun-23 3:35 
GeneralWSO CCC OTD 2023-06-13 Pin
OriginalGriff12-Jun-23 21:31
mveOriginalGriff12-Jun-23 21:31 
GeneralRe: WSO CCC OTD 2023-06-13 Pin
pkfox12-Jun-23 21:45
professionalpkfox12-Jun-23 21:45 
GeneralRe: WSO CCC OTD 2023-06-13 Pin
Peter_in_278013-Jun-23 0:43
professionalPeter_in_278013-Jun-23 0:43 
GeneralRe: WSO CCC OTD 2023-06-13 - we have a winner! Pin
OriginalGriff13-Jun-23 1:19
mveOriginalGriff13-Jun-23 1:19 
GeneralRe: WSO CCC OTD 2023-06-13 - we have a winner! Pin
pkfox13-Jun-23 1:28
professionalpkfox13-Jun-23 1:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.