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 Offline
    C Offline
    Clickok
    wrote on last edited by
    #1

    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:

    R N L C realJSOPR 16 Replies 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:

      R Offline
      R Offline
      Rama Krishna Vavilala
      wrote on last edited by
      #2

      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 R 2 Replies 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:

        N Offline
        N Offline
        Nish Nishant
        wrote on last edited by
        #3

        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 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:

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          All my articles are about completed work that I have done. I just start typing with an introduction and go from there. My articles don't go into too much detail though, I just like to show off what I have done.

          █▒▒▒▒▒██▒█▒██ █▒█████▒▒▒▒▒█ █▒██████▒█▒██ █▒█████▒▒▒▒▒█ █▒▒▒▒▒██▒█▒██

          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:

            C Offline
            C Offline
            Christian Graus
            wrote on last edited by
            #5

            Code, always.  I write the article once I know the code is all working the way I want it to, so I can talk about how I got there, and I can post code samples with it.

            Christian Graus - C++ MVP 'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert

            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:

              realJSOPR Offline
              realJSOPR Offline
              realJSOP
              wrote on last edited by
              #6

              Usually, I have to extract the code from a project I'm working on because most of the articles I write are about something I discovered while writing code, and the code it's in isn't relevant to the technique I'm trying to illustrate. I build a sample app to tst the code I'm writing an article about, and sometimes it's included with the article, and sometimes it's not. Right now, I' writing an article as I write the code because the code is specifically for an article here at CP. The short version is, do it the way you're comfortable with it.

              "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
              -----
              "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

              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:

                S Offline
                S Offline
                Shog9 0
                wrote on last edited by
                #7

                Code. Then article. Then more code, since the original code didn't match what i'd written...

                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:

                  R Offline
                  R Offline
                  Ravi Bhavnani
                  wrote on last edited by
                  #8

                  Code first, article text next. Like many other authors, the code I publish at CP stems from general purpose modules I've used in my own (i.e. not for my employer or on my employer's time or while at work) apps for several months/years. /ravi

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

                  N 1 Reply Last reply
                  0
                  • R Ravi Bhavnani

                    Code first, article text next. Like many other authors, the code I publish at CP stems from general purpose modules I've used in my own (i.e. not for my employer or on my employer's time or while at work) apps for several months/years. /ravi

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

                    N Offline
                    N Offline
                    Nish Nishant
                    wrote on last edited by
                    #9

                    Ah there you are. I ended up being the butt of this morning's repost jokes.

                    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*)

                    R 2 Replies Last reply
                    0
                    • N Nish Nishant

                      Ah there you are. I ended up being the butt of this morning's repost jokes.

                      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*)

                      R Offline
                      R Offline
                      Ravi Bhavnani
                      wrote on last edited by
                      #10

                      'Allo, old fruit! My apologies! /ravi

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

                      E 1 Reply Last reply
                      0
                      • N Nish Nishant

                        Ah there you are. I ended up being the butt of this morning's repost jokes.

                        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*)

                        R Offline
                        R Offline
                        Ravi Bhavnani
                        wrote on last edited by
                        #11

                        I must confess I've fallen prey to the charms of Sarvana Bhavan and Amy's delectable fried egg sandwiches (max 2 per week, though - it's my only source of eggs). I'm fast turning into an overweight mass of saturated fat. And... my fridge is stocked with Russian ham. :cool: /ravi

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

                        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
                          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
                                          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