Posts Tagged ‘OOP’
  • Using ‘Get’ And ‘Set’ Might Be Something You’ll Regret
    by Software Talk
    Posted April 1st, 2009 at 5:50 pm
    It’s an all-too-common pitfall. Programmers who attempt to write object-oriented code decide to make all of their data variables private, while creating public get() and set() function pairs for each one. “See?” they declare, as they pat themselves on their backs. “The data is private, but it can be accessed through these functions. I’ve encapsulated my data. That’s what object-oriented design requires.”I think this betrays a fundamental (and exceedingly...
  • Using ‘Get’ And ‘Set’ Might Be Something You’ll Regret
    by Software Talk
    Posted March 27th, 2009 at 5:50 pm
    It’s an all-too-common pitfall. Programmers who attempt to write object-oriented code decide to make all of their data variables private, while creating public get() and set() function pairs for each one. “See?” they declare, as they pat themselves on their backs. “The data is private, but it can be accessed through these functions. I’ve encapsulated my data. That’s what object-oriented design requires.”I think this betrays a fundamental (and exceedingly...
  • Using ‘Get’ And ‘Set’ Might Be Something You’ll Regret
    by Software Talk
    Posted March 24th, 2009 at 1:51 am
    It’s an all-too-common pitfall. Programmers who attempt to write object-oriented code decide to make all of their data variables private, while creating public get() and set() function pairs for each one. “See?” they declare, as they pat themselves on their backs. “The data is private, but it can be accessed through these functions. I’ve encapsulated my data. That’s what object-oriented design requires.”I think this betrays a fundamental (and exceedingly...
  • Using ‘Get’ And ‘Set’ Might Be Something You’ll Regret
    by Software Talk
    Posted March 18th, 2009 at 5:51 pm
    It’s an all-too-common pitfall. Programmers who attempt to write object-oriented code decide to make all of their data variables private, while creating public get() and set() function pairs for each one. “See?” they declare, as they pat themselves on their backs. “The data is private, but it can be accessed through these functions. I’ve encapsulated my data. That’s what object-oriented design requires.”I think this betrays a fundamental (and exceedingly...
  • Using ‘Get’ And ‘Set’ Might Be Something You’ll Regret
    by Software Talk
    Posted March 17th, 2009 at 5:51 pm
    It’s an all-too-common pitfall. Programmers who attempt to write object-oriented code decide to make all of their data variables private, while creating public get() and set() function pairs for each one. “See?” they declare, as they pat themselves on their backs. “The data is private, but it can be accessed through these functions. I’ve encapsulated my data. That’s what object-oriented design requires.”I think this betrays a fundamental (and exceedingly...
  • Using ‘Get’ And ‘Set’ Might Be Something You’ll Regret
    by Software Talk
    Posted March 17th, 2009 at 1:51 pm
    It’s an all-too-common pitfall. Programmers who attempt to write object-oriented code decide to make all of their data variables private, while creating public get() and set() function pairs for each one. “See?” they declare, as they pat themselves on their backs. “The data is private, but it can be accessed through these functions. I’ve encapsulated my data. That’s what object-oriented design requires.”I think this betrays a fundamental (and exceedingly...
  • Using ‘Get’ And ‘Set’ Might Be Something You’ll Regret
    by Software Talk
    Posted March 12th, 2009 at 1:51 pm
    It’s an all-too-common pitfall. Programmers who attempt to write object-oriented code decide to make all of their data variables private, while creating public get() and set() function pairs for each one. “See?” they declare, as they pat themselves on their backs. “The data is private, but it can be accessed through these functions. I’ve encapsulated my data. That’s what object-oriented design requires.”I think this betrays a fundamental (and exceedingly...
  • Using ‘Get’ And ‘Set’ Might Be Something You’ll Regret
    by Software Talk
    Posted March 12th, 2009 at 1:51 am
    It’s an all-too-common pitfall. Programmers who attempt to write object-oriented code decide to make all of their data variables private, while creating public get() and set() function pairs for each one. “See?” they declare, as they pat themselves on their backs. “The data is private, but it can be accessed through these functions. I’ve encapsulated my data. That’s what object-oriented design requires.”I think this betrays a fundamental (and exceedingly...
  • Using ‘Get’ And ‘Set’ Might Be Something You’ll Regret
    by Software Talk
    Posted March 2nd, 2009 at 4:51 pm
    It’s an all-too-common pitfall. Programmers who attempt to write object-oriented code decide to make all of their data variables private, while creating public get() and set() function pairs for each one. “See?” they declare, as they pat themselves on their backs. “The data is private, but it can be accessed through these functions. I’ve encapsulated my data. That’s what object-oriented design requires.”I think this betrays a fundamental (and exceedingly...
  • Using ‘Get’ And ‘Set’ Might Be Something You’ll Regret
    by Software Talk
    Posted February 26th, 2009 at 4:51 pm
    It’s an all-too-common pitfall. Programmers who attempt to write object-oriented code decide to make all of their data variables private, while creating public get() and set() function pairs for each one. “See?” they declare, as they pat themselves on their backs. “The data is private, but it can be accessed through these functions. I’ve encapsulated my data. That’s what object-oriented design requires.”I think this betrays a fundamental (and exceedingly...
Page 5 of 6« First...23456
Sponsors
Recent Posts
Categories
Tags
 
February 2012
M T W T F S S
« Jun    
 12345
6789101112
13141516171819
20212223242526
272829  
  • Partner links