Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Article/Code Creation Order

Article/Code Creation Order

Scheduled Pinned Locked Moved The Lounge
question
28 Posts 23 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Clickok

    I'm finishing my first articles to post here in CP :-O:rolleyes: I finished the article text, but not the code yet. CP writers, what do you write first? The article text or the code and why?


    For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life.(John 3:16) :badger:

    M Offline
    M Offline
    Marc Clifton
    wrote on last edited by
    #12

    Code first, or sometimes code and article concurrently. I once wrote an article first, and tossed the whole thing because the code ended up being significantly different than envisioned. Marc

    Thyme In The Country

    People are just notoriously impossible. --DavidCrow
    There's NO excuse for not commenting your code. -- John Simmons / outlaw programmer
    People who say that they will refactor their code later to make it "good" don't understand refactoring, nor the art and craft of programming. -- Josh Smith

    1 Reply Last reply
    0
    • C Clickok

      I'm finishing my first articles to post here in CP :-O:rolleyes: I finished the article text, but not the code yet. CP writers, what do you write first? The article text or the code and why?


      For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life.(John 3:16) :badger:

      P Offline
      P Offline
      PJ Arends
      wrote on last edited by
      #13

      Always the code first. The code is written to fill a need and then I decide that it is worth sharing so I write an article for it.


      You may be right
      I may be crazy
      -- Billy Joel --

      Within you lies the power for good, use it!!!

      P 1 Reply Last reply
      0
      • P PJ Arends

        Always the code first. The code is written to fill a need and then I decide that it is worth sharing so I write an article for it.


        You may be right
        I may be crazy
        -- Billy Joel --

        Within you lies the power for good, use it!!!

        P Offline
        P Offline
        PIEBALDconsult
        wrote on last edited by
        #14

        Hear hear.

        1 Reply Last reply
        0
        • C Clickok

          I'm finishing my first articles to post here in CP :-O:rolleyes: I finished the article text, but not the code yet. CP writers, what do you write first? The article text or the code and why?


          For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life.(John 3:16) :badger:

          M Offline
          M Offline
          Michael Dunn
          wrote on last edited by
          #15

          Some of my tutorials were done in parallel, especially the WTL series. I had to go deep into some part of WTL (on my own, to teach myself), but the code from that effort wouldn't have worked well in a tutorial article. So I wrote an outline for an article, then came up with an idea for the sample code to go along with the article, then wrote both the code and article together.

          --Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | PimpFish | CP SearchBar v3.0 | C++ Forum FAQ"); Ford, what's this fish doing in my ear?

          G 1 Reply Last reply
          0
          • C Clickok

            I'm finishing my first articles to post here in CP :-O:rolleyes: I finished the article text, but not the code yet. CP writers, what do you write first? The article text or the code and why?


            For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life.(John 3:16) :badger:

            J Offline
            J Offline
            J Dunlap
            wrote on last edited by
            #16

            Depends on the sort of article. For simple how-to articles, I write up a point list of things to cover, then write bits and pieces of both code and text to cover them, and then put the code snippets together into a demonstration project. For articles that center on a component or class I've written, generally it starts as code that I write for a project or experiment. I get it functionally finished - which means it's to the point where I know exactly what the article will cover - then write an article, then do more testing to make sure there are no hidden problems in the code, and make sure that the comments, formatting, and object model are just how I want them.

            1 Reply Last reply
            0
            • C Clickok

              I'm finishing my first articles to post here in CP :-O:rolleyes: I finished the article text, but not the code yet. CP writers, what do you write first? The article text or the code and why?


              For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life.(John 3:16) :badger:

              J Offline
              J Offline
              Joe Woodbury
              wrote on last edited by
              #17

              Code then article and then I often revisit the code. I've changed code as the result of trying to explain it.

              Anyone who thinks he has a better idea of what's good for people than people do is a swine. - P.J. O'Rourke

              1 Reply Last reply
              0
              • C Clickok

                I'm finishing my first articles to post here in CP :-O:rolleyes: I finished the article text, but not the code yet. CP writers, what do you write first? The article text or the code and why?


                For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life.(John 3:16) :badger:

                P Offline
                P Offline
                peterchen
                wrote on last edited by
                #18

                Code. [edit] And only if I see it's good, (in my veiled view of reality), I write n article [/edit]


                Developers, Developers, Developers, Developers, Developers, Developers, Velopers, Develprs, Developers!
                We are a big screwed up dysfunctional psychotic happy family - some more screwed up, others more happy, but everybody's psychotic joint venture definition of CP
                Linkify!|Fold With Us!

                1 Reply Last reply
                0
                • R Rama Krishna Vavilala

                  Clickok wrote:

                  I finished the article text,

                  I don't know about the others but in my case code comes first and then the article. I have plenty of useful code sitting with me that could all be very good articles. Writing is too difficult coding is too easy.

                  R Offline
                  R Offline
                  Rajesh R Subramanian
                  wrote on last edited by
                  #19

                  Rama Krishna Vavilala wrote:

                  Writing is too difficult coding is too easy.

                  You're right! :-D


                  Nobody can give you wiser advice than yourself. - Cicero ப்ரம்மா

                  1 Reply Last reply
                  0
                  • C Clickok

                    I'm finishing my first articles to post here in CP :-O:rolleyes: I finished the article text, but not the code yet. CP writers, what do you write first? The article text or the code and why?


                    For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life.(John 3:16) :badger:

                    E Offline
                    E Offline
                    Eytukan
                    wrote on last edited by
                    #20

                    For the Grand Negus, separating the article from the code would be a tiresome processes ;P :-D


                    Code-Frog:So if this is Pumpkinhead. Time for him to run and hide. It's an interesting thought really.

                    E 1 Reply Last reply
                    0
                    • C Clickok

                      I'm finishing my first articles to post here in CP :-O:rolleyes: I finished the article text, but not the code yet. CP writers, what do you write first? The article text or the code and why?


                      For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life.(John 3:16) :badger:

                      A Offline
                      A Offline
                      Aryo Handono
                      wrote on last edited by
                      #21

                      Too Bad, I haven't post any articles yet.... Since I don't have much time to think anything to write. :-D

                      "Courage choose who will follow, Fate choose who will lead" - Lord Gunner, Septerra Core "Press any key to continue, where's the ANY key ?" - Homer Simpsons Drinking gives me amazing powers of insight. I can solve all the worlds problems when drunk, but can never remember the solutions in the morning. - Michael P Butler to Paul Watson on 12/08/03

                      E 1 Reply Last reply
                      0
                      • R Ravi Bhavnani

                        'Allo, old fruit! My apologies! /ravi

                        This is your brain on Celcius Home | Music | Articles | Freeware | Trips ravib(at)ravib(dot)com

                        E Offline
                        E Offline
                        Ed Poore
                        wrote on last edited by
                        #22

                        Ravi Bhavnani wrote:

                        My apologies!

                        Why? It's good that someone finally managed to catch him out ;P


                        I have no idea what I just said. But my intentions were sincere.

                        Poore Design

                        1 Reply Last reply
                        0
                        • E Eytukan

                          For the Grand Negus, separating the article from the code would be a tiresome processes ;P :-D


                          Code-Frog:So if this is Pumpkinhead. Time for him to run and hide. It's an interesting thought really.

                          E Offline
                          E Offline
                          Ed Poore
                          wrote on last edited by
                          #23

                          :laugh: If he ever writes any articles :suss:


                          I have no idea what I just said. But my intentions were sincere.

                          Poore Design

                          1 Reply Last reply
                          0
                          • N Nish Nishant

                            I've always had the code first, and then written the article.

                            Regards, Nish


                            Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
                            Currently working on C++/CLI in Action for Manning Publications. (*Sample chapter available online*)

                            S Offline
                            S Offline
                            Sceptic Mole
                            wrote on last edited by
                            #24

                            Nishant Sivakumar wrote:

                            I've always had the code first, and then written the article.

                            I wonder what he's writing about when he has no code? :laugh:

                            1 Reply Last reply
                            0
                            • M Michael Dunn

                              Some of my tutorials were done in parallel, especially the WTL series. I had to go deep into some part of WTL (on my own, to teach myself), but the code from that effort wouldn't have worked well in a tutorial article. So I wrote an outline for an article, then came up with an idea for the sample code to go along with the article, then wrote both the code and article together.

                              --Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | PimpFish | CP SearchBar v3.0 | C++ Forum FAQ"); Ford, what's this fish doing in my ear?

                              G Offline
                              G Offline
                              Gary R Wheeler
                              wrote on last edited by
                              #25

                              That sounds similar to my approach to my (one and only :-O) article. The original code was for something I had done at work. That code had to be stripped to its essentials, the article written, and a suitable sample application written to go along with it.


                              Software Zen: delete this;

                              Fold With Us![^]

                              1 Reply Last reply
                              0
                              • C Clickok

                                I'm finishing my first articles to post here in CP :-O:rolleyes: I finished the article text, but not the code yet. CP writers, what do you write first? The article text or the code and why?


                                For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life.(John 3:16) :badger:

                                T Offline
                                T Offline
                                TheGreatAndPowerfulOz
                                wrote on last edited by
                                #26

                                code first. else how do you know what to write? hmm, maybe both together.

                                Silence is the voice of complicity. Strange women lying in ponds distributing swords is no basis for a system of government. -- monty python Might I suggest that the universe was always the size of the cosmos. It is just that at one point the cosmos was the size of a marble. -- Colin Angus Mackay

                                1 Reply Last reply
                                0
                                • A Aryo Handono

                                  Too Bad, I haven't post any articles yet.... Since I don't have much time to think anything to write. :-D

                                  "Courage choose who will follow, Fate choose who will lead" - Lord Gunner, Septerra Core "Press any key to continue, where's the ANY key ?" - Homer Simpsons Drinking gives me amazing powers of insight. I can solve all the worlds problems when drunk, but can never remember the solutions in the morning. - Michael P Butler to Paul Watson on 12/08/03

                                  E Offline
                                  E Offline
                                  Eytukan
                                  wrote on last edited by
                                  #27

                                  Cheers :beer:


                                  Code-Frog:So if this is Pumpkinhead. Time for him to run and hide. It's an interesting thought really.

                                  1 Reply Last reply
                                  0
                                  • R Rama Krishna Vavilala

                                    Clickok wrote:

                                    I finished the article text,

                                    I don't know about the others but in my case code comes first and then the article. I have plenty of useful code sitting with me that could all be very good articles. Writing is too difficult coding is too easy.

                                    R Offline
                                    R Offline
                                    Raj Lal
                                    wrote on last edited by
                                    #28

                                    Rama Krishna Vavilala wrote:

                                    Writing is too difficult coding is too easy.

                                    i will second that

                                    Omit Needless Words - Strunk, William, Jr.


                                    JumpyForum:CP Message board | Universal DBA | Ajax Rating | ExplorerTree | | Globalization in 20 minutes
                                    Web based project tracking

                                    1 Reply Last reply
                                    0
                                    Reply
                                    • Reply as topic
                                    Log in to reply
                                    • Oldest to Newest
                                    • Newest to Oldest
                                    • Most Votes


                                    • Login

                                    • Don't have an account? Register

                                    • Login or register to search.
                                    • First post
                                      Last post
                                    0
                                    • Categories
                                    • Recent
                                    • Tags
                                    • Popular
                                    • World
                                    • Users
                                    • Groups