Subscribe to andrewsw's Blog        RSS Feed
- - - - -

Factorial Walkthrough (Recursion)

Icon Leave Comment
Doing what it says on the tin! Walking through recursive function calls.

The programming language is not important, as long as you understand functions (function arguments and return statements).

Factorial :wikipedia

long factorial(int n) {    if (n == 0)        return 1;     else        return n * factorial(n-1);}
- - - - -

Santa's Database

Icon 5 Comments
We need a very large database, to store billions of records. However, it only really needs a single table, at first estimate.

Essentially, just names and addresses. However, we also need a check...
* * * * -

Debugging with Custard

Icon 5 Comments
Well, it's not really. It is more like trying to discover fundamental particles. You throw all kinds of custard at it in the hope that something sticks. Well, not custard, but other high-energy particles/radiation. And you are not hoping that something will 'stick', but for evidence of new particles. Not a particle itself: it is not...
- - - - -

Client and Server, briefly

Icon 4 Comments
The following is an attempt to explain in simple terms the difference between client and server-side processing. Specifically, the difference between Javascript, which runs on the client, and PHP (and other server-side) languages which, of course, run on the server.

The client...
- - - - -

I Can Answer That!

Icon 3 Comments
DIC encourages contributions of many kinds to this site - it is a community after all. You do not have to be an expert in order to make a contribution. However, if you are new to answering, or responding to, questions raised in the forums then I have some general guidance for you.

* * * * *

It's All In The Title

Icon 4 Comments
The title for your question is very important:

  • It is used in searches, both within DIC and by other search engines. People need to be able to find your topic in case it answers their question or, at least, contains useful information for them. You may even need to search for it yourself in the future, if you lose track of the original.
  • ...
- - - - -

OOP Concepts

Icon Leave Comment
Before Object-Oriented Programming, structured programming...
* * * * *

The Written Word

Icon 3 Comments
Writing about programming is not an excuse for poor grammar and punctuation. In fact, it is quite the reverse. You need to make extra efforts to explain yourself in a clear, legible, fashion when talking about a technical subject - which programming is.

- - - - -

Post Peeves

Icon 1 Comments
I was trying to create my top-ten peeves for posted questions. Keeping it to 10 is tricky, and I keep debating the order; that is, taking into account the groan-factor.

I'll show what I have so far.

WARNING: Not for the faint-hearted, or overly-sensitive

  • Gibberish
  • Not providing enough information
  • Not posting the error message
  • ...
- - - - -

Sherlock Holmes is Missing

Icon 2 Comments
I caught sight of myself in the mirror. I was turning Detective...

  • (6 Pages)
  • +
  • « First
  • 3
  • 4
  • 5
  • 6

October 2020

252627 28 293031


    Recent Entries

    Recent Comments

    Search My Blog

    0 user(s) viewing

    0 Guests
    0 member(s)
    0 anonymous member(s)