Page 11 of 14 FirstFirst ... 8910111213 ... LastLast
Results 101 to 110 of 135
  1. #101

    Default Re: can you give me some tips to become a good programmer


    Quote Originally Posted by chrisvil View Post
    Kamo ra wala koy labot. Ang pag biga-biga maka daut na sa negosyo.
    what if part sa job description ang biga2x.... hahahahahah bitaw back to topic...

    wala nindot nga paagi para makat-on kung di ang pag sige practice...

  2. #102

    Default Re: can you give me some tips to become a good programmer

    daghan salamat sa imong post bro, maayo kaayo ni na guide para sa mga newbie ( basic turbo pascal ug C ra akong nahibal-an) sa programming.

  3. #103

    Default Re: can you give me some tips to become a good programmer

    Quote Originally Posted by haxors View Post
    This is my tip to you brother to be a good/better/best programmer. Follow my steps.

    1. Gather complete requirements.
    Take the time to write down what the end product needs to achieve. Clarity of thought at this stage will save a lot of time down the line.

    2. Write an implementation plan (or model).

    2.1. For something small and self-contained, this might just be a basic flowchart or an equation.

    2.2. For larger projects, it helps to break it into modules and consider what job each module must do, how data gets passed between modules, and within each module how it will function.

    2.3. Although it is fun to dive straight into code, it is equally tedious to spend hours debugging. By taking the time to design the structure on paper, you will drastically reduce your debugging time (and you may also spot more efficient ways of doing things even before you write the first line of code).

    3. Add Comments to your code.

    Whenever you feel your code needs some explanation, drop some comments in. Each function should be preceded by 1-2 lines describing the arguments and what it returns. (Comments should tell you why more often than what. Remember to update the comments when you update your code!)

    4. Use naming conventions for variables.

    It will help you keep track of what type the variable is and also what it's purpose is. Although this means more typing than x = a + b * c, it will make your code easier to debug and maintain. One popular convention is Hungarian notation where the variable name is prefixed with its type. e.g. for integer variables, intRowCounter; strings: strUserName. It doesn't matter what your naming convention is, but be sure that it is consistent and that your variable names are descriptive.

    5. Organize your code.
    Use visual structure to indicate code structure. i.e. indent a code block that sits within a conditional (if,else,...) or a loop (for,while,...) Also try putting spaces between a variable name and an operator such as addition, subtraction, multiplication, division, and even the equal sign (myVariable = 2 + 2). As well as making the code more visually elegant, it makes it much easier to see the program flow at a glance.

    6. Test.
    Start by testing it with inputs that you would typically expect. Then try inputs that are possible but less common. This will flush out any hidden bugs. There is an art to testing and you will gradually build up your skills with practice.
    Write your tests to always include the following:

    6.1 Extremes: zero and max for positive values, empty string, null for every parameter.

    6.2 Meaningless values, Gibberish. Even if you don't think someone with half a brain might input that, test your software against it.

    6.3 Wrong values. Zero in a parameter that will be used in a division, negative when positive is expected or a square root will be calculated. Something that is not a number when the input type is a string, and it will be parsed for numeric value.

    7. Practice. Practice. Practice.

    8. Be prepared for change.

    In a realistic working environment, requirements change. However, the clearer you are at the start about the requirements and the clearer your implementation plan, the less likely those changes will be down to misunderstanding or "Ah, I hadn't thought of that" scenarios.

    8.1 You can take an active role in improving clarity of thinking by presenting your requirements document or your implementation plans before coding to ensure that what you are planning to create is actually what's been asked for.

    8.2 Structure the project as a series of milestones with a demo for each block. Approach the programming one milestone at a time - the less you need to think about at any moment, the more likely you will think clearly.

    9. Start simple and work towards complexity.

    When programming something complex, it helps to get the simpler building blocks in place and working properly first.
    For example, let's say you want to create an evolving shape on screen that follows the mouse and where the degree of shape change depends on mouse speed.

    9.1 Start by displaying a square and get it to follow the mouse, i.e. solve movement tracking on its own.

    9.2 Then make the size of the square relate to mouse speed, i.e. solve speed-to-evolution tracking on its own.

    9.3 Finally create the actual shapes you want to work with and put the three components together.

    9.4 This approach naturally lends itself to modular code writing, where each component is in its own self-contained block. This is very useful for code reuse (e.g. you want to just use the mouse tracking in a new project), and makes for easier debugging and maintenance.

    I hope TS this methods/steps can help you in future...


    daghan salamat sa imong post bro, maayo kaayo ni na guide para sa mga newbie ( basic turbo pascal ug C ra akong nahibal-an) sa programming.

  4. #104

    Default Re: can you give me some tips to become a good programmer

    same here toh

  5. #105

    Default Re: can you give me some tips to become a good programmer

    same pud dreh ..

  6. #106

    Default Re: can you give me some tips to become a good programmer

    Good tip by bro haxors. If you are still starting to learn programming, it would be best that you learn the right way. As what bro haxors mentioned, you should organize your code well and learn to program in an optimized way. Programming is also like problem solving and the saying "There are a million ways to kill a cat" also applies. There are an endless ways to implement something in programming it would really depend on your creativity but be sure to comply with the standards set by the community. Read and learn the coding standards suggested by Google, Wordpress or Zend.

    Be thirsty for knowledge and be updated. To be a good programmer you need to have continuous / endless learning. If you become good in Visual Basic or PHP learn new programming languages like Ruby or iOS or Android Mobile Dev so as to keep you from boredom. Also try to connect with the best programmers in the community, like Paul Irish the Developer of HTML5Boiler plate, a member of the jQuery and jQuery Mobile Dev Team, Jeffrey Way, the manager of Envato.com and net.tutsplus.com, or Chris Coyier of css-tricks.com. You can connect with them via twitter or facebook, or even read their blogs or some great programming blog site like sitepoint.

    I can suggest a lot of technical things if you want to be a programmer, but if you really want be a good programmer or even a top software / web developer; you only need two things, "Passion" and "Hard Work". If you really love programming, the technical concepts of an advance programming language, Object-Oriented Programming for example cannot scare you or even discourage you, passion will make you hungry for more knowledge. If you have these two traits, nothing / nobody can stop you in becoming a good programmer.

  7. #107

    Default Re: can you give me some tips to become a good programmer

    .to be a good programmer...dapat magstudy ka sa language get familiarize sa mga codes, syntax and everything. then online tutorial bsta online ka alwayz bro y poblema naa rana tnan dra...read books then apply to the program, bsta pagpractice lang perme para ma familiar ka sa mga codes..mao rana importante if naa ka kalibogan mr. google lang he knows everything hehehehe.... then lastly if magstart naka sa programming na class. ask the teacher if what topic e discuss nig ugma..nya imo buhaton advance search para kabalo ka sa discussion. nys ang feeling if makarelate ka sa ge.discuss sa teacher hehehehehe...hope it will help.

  8. #108
    Ako hilig jud ko'g programming, pero ang programming wa may hilig nako..awtz

  9. #109
    Elite Member
    Join Date
    May 2011
    Gender
    Male
    Posts
    1,465
    grabehas mga taw dri oe. mauwaw nlng ta mu post.

  10. #110
    When programmer always have a beer hang over : )
    and able to provide a good technical and functional design then its a good programmer :P

  11.    Advertisement

Page 11 of 14 FirstFirst ... 8910111213 ... LastLast

Similar Threads

 
  1. Want To Buy: Want to buy LOT....can you give me tips on buying a legitimate LOT?
    By inxss4 in forum Real Estate
    Replies: 33
    Last Post: 01-23-2013, 08:30 PM
  2. Give Me some tips on how to be a gooD Breeder especially Labrador
    By calumbaanamarie in forum Pet Discussions
    Replies: 10
    Last Post: 10-04-2012, 01:05 AM
  3. Replies: 29
    Last Post: 07-03-2008, 02:37 PM
  4. Scrapbookers/card makers, could you give me some adhesive advice?
    By exquisitemoments in forum Hobbies & Crafts
    Replies: 2
    Last Post: 02-02-2007, 09:30 PM
  5. give me some tips on what to buy....
    By Tin_Tin in forum Computer Hardware
    Replies: 16
    Last Post: 02-09-2006, 12:20 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
about us
We are the first Cebu Online Media.

iSTORYA.NET is Cebu's Biggest, Southern Philippines' Most Active, and the Philippines' Strongest Online Community!
follow us
#top