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
Jeremy Falcon13-Jun-23 7:30
professionalJeremy Falcon13-Jun-23 7:30 
GeneralRe: Should libraries have a standard API and naming convention? Pin
Single Step Debugger13-Jun-23 4:53
Single Step Debugger13-Jun-23 4:53 
GeneralRe: Should libraries have a standard API and naming convention? Pin
Chris Maunder13-Jun-23 7:44
cofounderChris Maunder13-Jun-23 7:44 
GeneralRe: Should libraries have a standard API and naming convention? Pin
rnbergren13-Jun-23 6:34
rnbergren13-Jun-23 6:34 
GeneralRe: Should libraries have a standard API and naming convention? Pin
Jeremy Falcon13-Jun-23 7:28
professionalJeremy Falcon13-Jun-23 7:28 
GeneralRe: Should libraries have a standard API and naming convention? Pin
jschell13-Jun-23 12:16
jschell13-Jun-23 12:16 
GeneralRe: Should libraries have a standard API and naming convention? Pin
Jeremy Falcon14-Jun-23 2:40
professionalJeremy Falcon14-Jun-23 2:40 
GeneralRe: Should libraries have a standard API and naming convention? Pin
jschell13-Jun-23 11:52
jschell13-Jun-23 11:52 
Chris Maunder wrote:
any time you get data from a source (uploaded file, network stream, from database) you call it "Get"


Conflicts with standard class access for attributes - getter and setter

Chris Maunder wrote:
any time you need to append data, you call Append, and also override the + operator.


Absolutely not - never do that.

Overriding operators should only occur in very limited circumstances. Used to be I would claim that it might work for vector addition but I am not even sure I would support that anymore.

Chris Maunder wrote:
I just want to save the file to disk.


I don't see your point. Streams have never been limited to just that. Moving data has always had more potential than that. Certainly true now. And also true long ago.

Adding distinct methods for every potential movement of data would be a bad idea.

Chris Maunder wrote:
We're scared to break backwards compatibility


Yes please. More of that. I cringe, with good reason, every time I see someone refactor code because they think they are making it better. I have seen two different production problems show up in just the last 6 months because of that.

That doesn't include the ones I stopped from happening because I saw the code before hand and was able to point out the enterprise impact before it rolled out.

Chris Maunder wrote:
I think we as an industry need a big refactoring.


People buy hammers but they do so to build tables, fences, houses, and skyscrapers.

Software development is a hammer. It is not the product/service. The sales people do not care if the healthcare site uses two API methods with different names but which do the same thing. And the customers definitely do not.

Sure it increases maintenance costs. But so does a full enterprise refactor.
GeneralRe: Should libraries have a standard API and naming convention? Pin
Peter_in_278013-Jun-23 15:45
professionalPeter_in_278013-Jun-23 15:45 
GeneralRe: Should libraries have a standard API and naming convention? Pin
Greg Utas13-Jun-23 16:38
professionalGreg Utas13-Jun-23 16:38 
GeneralRe: Should libraries have a standard API and naming convention? Pin
resuna14-Jun-23 1:01
resuna14-Jun-23 1:01 
GeneralRe: Should libraries have a standard API and naming convention? Pin
Greg Utas14-Jun-23 4:03
professionalGreg Utas14-Jun-23 4:03 
GeneralRe: Should libraries have a standard API and naming convention? Pin
resuna14-Jun-23 5:49
resuna14-Jun-23 5:49 
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 
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 

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.