Thread: What sort of code would historical figures write?

  1. #1
    Registered User Alpo's Avatar
    Join Date
    Apr 2014
    Posts
    877

    What sort of code would historical figures write?

    If computers had been discovered at the dawn of modern humans (and with the assumption that all modern languages came with them, but no other modern technology)...

    What sort of programs would famous historical figures be writing? Also, what would your choice/s favorite language be, and why?

    Here's some of mine :

    ---------

    Sigmund Freud would write small apps for websites, for evaluating the users personality type. After answering 8 or 9 nebulous sounding questions like "What's the smell of your favorite color?", the user is brought to the results page. The results page displays on a scale of 9-10 how in love with your mother you are. W
    ritten in JavaScript.

    Kant would write the first turing complete speech synthesizer, called Kant_Talk'in_Now. Unfortunately all the program ever wants to talk to you about is how flawed your logic is. T
    he program was written in assembly, and not even Eistein could figure out what was going on with it.

  2. #2
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,708
    Of course we can only speculate...but I suspect a whole lot of them would have made exceptional programmers. I mean, imagine if someone like Euler or Kepler had had access to computers back then? Just think!
    Code:
    #include <cmath>
    #include <complex>
    bool euler_flip(bool value)
    {
        return std::pow
        (
            std::complex<float>(std::exp(1.0)), 
            std::complex<float>(0, 1) 
            * std::complex<float>(std::atan(1.0)
            *(1 << (value + 2)))
        ).real() < 0;
    }

  3. #3
    Lurking whiteflags's Avatar
    Join Date
    Apr 2006
    Location
    United States
    Posts
    9,612
    For the immediate bummer, why this idea is bad, as shown by many made up historical facts:

    Why go over to a friend's house to play video games when there are Youtube let's plays?
    "How can what we see be real if our eyes aren't real" is an actually famous quote by actual philosopher George Berkeley.
    Walt Disney would have skipped traditional cells and film altogether.
    Henry Ford puts a computer in the Model T.
    People who insist on using bank tellers would have only gotten more obnoxious a lot sooner.
    The death of radio.
    The death of radio even faster with Jerry Wexler's new app called napster.
    The death of TV news with the rise of the Onion before Walter Cronkite's career.
    The Zapruder film, now spread initially through the Internet, creates a band of annoying, die-hard conspiracy theorists.
    Larry King looks even more out of date even faster.
    Your favorite President used twitter to get elected, at least according to all of his obnoxious followers.
    Kickstarter tried to save Tiger Stadium; it reached many stretch goals, but nothing was achieved due to bureaucracy the project creator didn't think about.
    The set of the Price is Right was stuck in the 70s for even longer.
    They engraved the moon with the Pepsi logo as the soft drink company funded many space exploration projects.
    People still don't believe in the Moon landing, whenever it happened.
    Still no updates on warp drive!
    Or The Challenger disaster was a disaster of a completely different sort...
    Lavos still didn't destroy the world in 1999.

  4. #4
    Registered User Alpo's Avatar
    Join Date
    Apr 2014
    Posts
    877
    Quote Originally Posted by whiteflags View Post
    "How can what we see be real if our eyes aren't real" is an actually famous quote by actual philosopher George Berkeley.
    That's like a solipsist, but minus one. A nulipsist.

  5. #5
    Unregistered User Yarin's Avatar
    Join Date
    Jul 2007
    Posts
    2,158
    Quote Originally Posted by Alpo View Post
    If computers had been discovered at the dawn of modern humans (and with the assumption that all modern languages came with them, but no other modern technology)...

    What sort of programs would famous historical figures be writing? Also, what would your choice/s favorite language be, and why?
    This is an broken game. The paths people take in life are so heavily dictated by their environment, that said famous figures would probably have perused different things, so much that their work wouldn't even resemble the answers you give.

  6. #6
    Unregistered User Yarin's Avatar
    Join Date
    Jul 2007
    Posts
    2,158
    Quote Originally Posted by Sebastiani View Post
    Of course we can only speculate...but I suspect a whole lot of them would have made exceptional programmers. I mean, imagine if someone like Euler or Kepler had had access to computers back then? Just think!
    If Euler or Kepler (and their peers presumably) had access to computers back then, they would never have grown to be the people we remember them to be. Assuming they would have made exceptional programmers is a wild shot in the dark (even for speculation).

  7. #7
    Registered User Alpo's Avatar
    Join Date
    Apr 2014
    Posts
    877
    Quote Originally Posted by Yarin View Post
    If Euler or Kepler (and their peers presumably) had access to computers back then, they would never have grown to be the people we remember them to be. Assuming they would have made exceptional programmers is a wild shot in the dark (even for speculation).

    I don't think he meant that Kepler and peers would have made great programmers themselves, just that they could have used computers the way todays scientists do.

    Not that I think every great mind would have used computers to do something amazing. Imagine Descartes writing a program to solve his questions about reality :

    Code:
    I = (think) ? am : NULL;

  8. #8
    Registered User
    Join Date
    Mar 2011
    Posts
    596
    John Dalton might have used Quaker C:

    int n shall equal 0;

    whilst(n dost not equal 10)
    printthee("\nn shall be decreed as %d\n", n);
    n shall be increased by 1;
    so shall endeth the loop;

    -
    Last edited by megafiddle; 05-31-2014 at 10:42 PM.

  9. #9
    and the hat of copycat stevesmithx's Avatar
    Join Date
    Sep 2007
    Posts
    587
    Quote Originally Posted by Sebastiani View Post
    Of course we can only speculate...but I suspect a whole lot of them would have made exceptional programmers. I mean, imagine if someone like Euler or Kepler had had access to computers back then? Just think!
    Computers are NOT good at solving problems, give breakthrough insights or at conjecturing (atleast till now). They are just good at carrying out what is given to them. The computation ability(grid) and the preexisting knowledge(cloud) available today might be useful to extremely smart engineers and mathematicians, but likely less useful in the hands of extraordinary geniuses. Sure there are a few theorems that have been proven with assistance from computers, but I doubt today's computing power could have aided Euler in writing 886 papers and 90 volumes without getting in his way.
    Although Euler is known for his memory and concentration, with internet around, I would say the distraction would have been too much(had he chosen to use it).
    Not everything that can be counted counts, and not everything that counts can be counted
    - Albert Einstein.


    No programming language is perfect. There is not even a single best language; there are only languages well suited or perhaps poorly suited for particular purposes.
    - Herbert Mayer

  10. #10
    Registered User
    Join Date
    Oct 2006
    Posts
    3,445
    Quote Originally Posted by megafiddle View Post
    John Dalton might have used Quaker C:

    int n shall equal 0;

    whilst(n dost not equal 10)
    printthee("\nn shall be decreed as %d\n", n);
    n shall be increased by 1;
    so shall endeth the loop;
    Somebody needs to develop a standard syntax and write a compiler for this language. I would use it.
    What can this strange device be?
    When I touch it, it gives forth a sound
    It's got wires that vibrate and give music
    What can this thing be that I found?

  11. #11
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    Shakespeare would surely have used Shakespeare
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 3
    Last Post: 04-12-2014, 04:40 PM
  2. Replies: 52
    Last Post: 05-11-2013, 03:17 PM
  3. How to correct the data to 7 significant figures?
    By nodurians in forum C Programming
    Replies: 1
    Last Post: 11-03-2011, 08:36 AM
  4. To sort an input file and write it as multiple files
    By kavithanarayan in forum C++ Programming
    Replies: 6
    Last Post: 03-16-2010, 12:35 AM
  5. Significant Figures and Chemistry
    By Korn1699 in forum C++ Programming
    Replies: 3
    Last Post: 11-20-2001, 10:37 AM

Tags for this Thread