Jump to content

Beginners Guide to Programming (JavaScript)


Guest Ret.Maj.Xander=US=

Recommended Posts

Posted
I'm pretty good with Java, how much different is it from JavaScript?
Guest Ret.Maj.Xander=US=
Posted
A good amount. Its a scripting language not object oriented as much. But once you know 2-3 languages its pretty easy to pick up on the rest.
Guest gamerk2
Posted
^^ Thats true for most any language. Once you learn how to program, the only real difference is the syntax [well, aside from a few 'out there' languages; I actually inherited a piece of APL code at work; not fun at all...].
Guest RET.CW4.ThievingSix=US=
Posted

Im going to go off for a bit here but the general idea is computers today suck.

 

Developers should aim for efficiency which is something that most lack, mostly due to time constraints and the limits of computing today and so i come to the computational complexity theory which is simple in explanation but nearly impossible to solve without "time travel" not literally but through quantum computing or as a result of it.

 

Say your looking for an ant in a forest that is infinitely big, there's only 1 of that ant and you know the ant is there, there are an infinite number of other ants in the forest. You enlist a computer to help you but how do you tell the computer to find the ant without it taking an extremely long time. Eventually the computer will "stumble" on the ant but you don't know how long this will take, it won't take an infinite amount of time but with current methods of computing you will have to search each ant to find if its the right one. You could have an index which documents each ant in the forest but this take's more effort that should be required.

 

How does a human brain recall a memory from a bank of billions of memory's in less that half a second without any sort of index, yet for a computer to do the same it would take a very long time by comparison if there we no index.

 

There is no difference between thought and memory in the brain, your memory's are your thoughts and vice versa. Your thoughts are based on what you have been told, e.g. you are born with a neutral view on gender much like a computer views 2 numbers neutrally. You are told girls have long hair as a child so you associate anyone with long hair as a girl and categorize them as one, yet as you learn the category becomes more specific, girls have different facial features, girls have different skeletal structures. So now you have been told what a girl looks like and you can identify a girl in less than a second. A computer cannot do this, quite simply because it cannot do what it hasn't been told not all girls have certain features that others have, how can you say what features should definitely be present in a girl and tell that to a computer, yes it can be done but the computer has not learnt it and it will take a long time to confirm whether it is a boy or a girl because it has to test for every feature and determine whether it is present or not. Yet a human can do this in less than a second without effort. So whats the difference between humans and computers. The ability to learn and apply that in real life situations. e.g. When you look for a girl you look for 3 main features to confirm whether it is or isen't a girl, if all the feature's return to be true then you acccept that it is a girl however if you find that one of the features isen't present you look for the next feature. What if the being is neither a girl nor a boy what do you do?, you check your self for the next closest feature that your brain finds and compares and it continues this until it positively identify's an object that matches all features successfully.

 

There's an infinite number of categories and it would theoretically take a computer years to positively identify something.

 

A computer can't currently be taught to search smartly, without having prior knowledge of every feature that exists and the combination of them(in essence an index).

 

So why can't a computer have a memory, not a hard drive that is limited by physical limitations but rather a chemical one. Its not impossible, in fact its far from it. We've learnt alot in recent years but its developing for the past that is slowing us down.

Posted
You just made me think of Bogo sort thieving :)
Guest RET.CW4.ThievingSix=US=
Posted
haha yep its what we need

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...