• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Frank Carver
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • fred rosenberger

Client programming and class author discrepincies

 
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If I have a program that has methods of my own that I have written mixed with someone elses interface that i am impimentating would that i have be considered class authored , client programming , or both.

Thanks, Kp
 
Ranch Hand
Posts: 1272
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you write implementations of someone's abstract methods, they are your implementations.

If the interface does not mention the author, you can put a comment crediting the interface author in your class.
 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thats bold.
 
Kevin Peterson
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ok, sorry let me re-phase that, what if the interface was replaced with already written methods that i was including in my code with some of my own methods, for instance:

public class car{

public car(){} // written by me

public void wheel(){} //written by someone else

public void engine(){} // written by me
}

-Keep in mind this is only an example but if i wrote class car would i be the class author, client programmer or is it possible to be both at once.

Thanks, Kp
 
Ranch Hand
Posts: 1646
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What is a client programmer? Does that mean you write HTML or Swing code? Or a programmer hired by the client? Or a programmer writing a socket client to call someone else's server?
 
Kevin Peterson
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The client programmer uses already written classes and methods to put together a program and the class author writes classes and methods of thier own, now what would happen if you were using your own code and someone elses code?

-Kp
 
(instanceof Sidekick)
Posts: 8791
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You'd have to look at the licensing for the other code. A lot of open source projects use one of the GNU licensing flavors which say you can include their code or binaries in your product so long as you include it complete and unchanged and make your code available the same way. (Ok, it's pages of legaleze, so that isn't 100% it.) If you're developing code for your company or for something you'd like to sell, you probably ought to have an expert look over the licenses of the things you use and write you one, too.

Another option you see sometimes is a statement that "This product requires jars from so and so. It's up to you to go get them and make sure you have legal licenses. Here's a link to their web site. Good luck!" That might be viable for a non-commercial product, but it would surely turn off non-geeky customers.
 
Kevin Peterson
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks, that answered the question.

-Kp
 
You showed up just in time for the waffles! And this tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic