Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 4 of 4

Thread: Design Patterns

  1. #1
    Member
    Join Date
    May 2013
    Posts
    165
    Thanks
    58
    Thanked 1 Time in 1 Post

    Default Design Patterns

    I am steadily trying to improve myself as person who is learning Java as a first programming language. I'm studying about problems and algorithms by practising problems on TopCoder alongside reading articles and watching videos on the topic.

    Though I was wondering would it be more beneficial for me to learn Design patterns alongside or should I save this for more advanced studies.

    Also is the subject of Design patterns similar to algorithms and data structures in that the principles follow in different programming languages, or do different programming languages have radically different takes on the topic.


  2. #2
    Member
    Join Date
    Oct 2013
    Location
    Saint-Petersburg, Russia
    Posts
    33
    Thanks
    0
    Thanked 5 Times in 5 Posts

    Default Re: Design Patterns

    There would be no much harm reading at least about basic patterns. Things like Singleton, Factory, Builder, Pool, Wrapper and Adapter are very common and you often can find them even in standard Java API.

    Most of patterns do not depend on chosen language and platform. However, some languages prefer (perhaps historically) different patterns compared to others. Most common example is that in Java we often use Data Access Object as pattern for dealing with database, while in PHP, Python, Ruby and even Scala people often prefer ActiveRecord.

    But of course there are a few attempts to create ActiveRecord-oriented frameworks for Java and there are DAO-like solutions for PHP etc.

  3. The Following User Says Thank You to rodiongork For This Useful Post:

    keepStriving (October 29th, 2013)

  4. #3
    Junior Member
    Join Date
    Oct 2013
    Posts
    11
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default Re: Design Patterns

    Re: Design Patterns
    I completely agree with Rodiongork and you can learn SRP principle, DRY principle, DAO design pattern which will increase your performance during programing.

  5. The Following User Says Thank You to arnavkumartechno For This Useful Post:

    keepStriving (October 29th, 2013)

  6. #4
    Member
    Join Date
    May 2013
    Posts
    165
    Thanks
    58
    Thanked 1 Time in 1 Post

    Default Re: Design Patterns

    Thanks guys I'll read more into your recommendations.

Similar Threads

  1. Design Patterns / Architectures
    By davaholic in forum Java Theory & Questions
    Replies: 2
    Last Post: December 18th, 2012, 06:24 PM
  2. Design/Menu
    By blad3cro in forum What's Wrong With My Code?
    Replies: 1
    Last Post: November 14th, 2012, 02:46 PM
  3. Display patterns on the screen
    By finjws in forum Loops & Control Statements
    Replies: 12
    Last Post: February 10th, 2012, 01:11 PM
  4. Help in possible Design UI
    By beni.kurniawan in forum AWT / Java Swing
    Replies: 1
    Last Post: April 15th, 2011, 10:51 AM
  5. Loop Patterns (triangles) [Beginner]
    By me1010109 in forum Loops & Control Statements
    Replies: 2
    Last Post: October 24th, 2010, 05:13 PM