Technical Discussion
  >> Web Design / HTML / Web hosting Forum


Register (or login) on our website and you will not see this ad.


These posts have been archived and can no longer be replied to or modified.
Pages in this thread: 1 | 2 | 3 | [4] | (show all)   Print Thread
Standard User deleted
(deleted) Thu 10-Dec-09 16:45:11
Print Post

Re: C++ coding


[re: deleted] [link to this post]
 
js is the best language ever made, despite its flaws.
Standard User deleted
(deleted) Thu 10-Dec-09 16:47:34
Print Post

Re: C++ coding


[re: deleted] [link to this post]
 
It doesn't surprise me to hear you say that.wink
Standard User deleted
(deleted) Thu 10-Dec-09 16:57:42
Print Post

Re: C++ coding


[re: deleted] [link to this post]
 
In reply to a post by AnotherExPipex:
but not for teaching purposes.
And by that, you mean 'you need to learn how a computer works on a hardware level to work with c++ effectively.' so as a language to teach someone doing a compsci degree, it's perfect. But for a first language, it sucks, because you are better off learning the fundamentals of programming syntax without worrying about data types and pointers etc. By mastering simple languanges first, you can then dive into learning C++ with also having to learn programming too, if you catch my drift. Tthe fact that the OP is having trouble with basic coding, coding that is independent from C++ as a language, suggests that they skipped courses that you'd usually take at A-level. I certainly remember the first thing we did in A-level computing was learn pascal.


Register (or login) on our website and you will not see this ad.

Standard User deleted
(deleted) Thu 10-Dec-09 17:08:26
Print Post

Re: C++ coding


[re: deleted] [link to this post]
 
In reply to a post by AnotherExPipex:
It doesn't surprise me to hear you say that.wink
just take one simple example. Arrays. In js, you can do var a = [], then push(), pop(), sort(), join(), slice().. you can do everything and anything with it, and what you can't do you can simple add by making your own method. Compare that to c#. The standard array is so inflexible, ms had to add new array types in .net, and even then they made it overly verbose. You need lists and sorted lists, stacks and queues. Each one has their own methods, that you can't use one the other. It's lame.

A lot of languages could learn a thing or two from js.

Edited by deleted (Thu 10-Dec-09 17:10:10)

Standard User deleted
(deleted) Thu 10-Dec-09 17:17:08
Print Post

Re: C++ coding


[re: deleted] [link to this post]
 
Sounds like you need Smalltalk - far more flexible.
Standard User deleted
(deleted) Thu 10-Dec-09 17:18:36
Print Post

Re: C++ coding


[re: deleted] [link to this post]
 
And by that, you mean 'you need to learn how a computer works on a hardware level to work with c++ effectively.'
No I don't.
Standard User Kenneth
(legend) Thu 10-Dec-09 18:44:39
Print Post

Re: C++ coding


[re: deleted] [link to this post]
 
In reply to a post by AnotherExPipex:
... or even Perl.


1987 - Larry Wall falls asleep and hits Larry Wall's forehead on the keyboard. Upon waking Larry Wall decides that the string of characters on Larry Wall's monitor isn't random but an example program in a programming language that God wants His prophet, Larry Wall, to design. Perl is born

....

1995 - Brendan Eich reads up on every mistake ever made in designing a programming language, invents a few more, and creates LiveScript. Later, in an effort to cash in on the popularity of Java the language is renamed JavaScript.


Ken

When arguing with a fool, pause and ponder - are they also arguing with a fool
Standard User deleted
(deleted) Thu 10-Dec-09 18:52:39
Print Post

Re: C++ coding


[re: Kenneth] [link to this post]
 
In reply to a post by Kenneth:
1987 - Larry Wall
1995 - Brendan Eich reads up on every mistake ever made in designing a programming language, invents a few more, and creates LiveScript. Later, in an effort to cash in on the popularity of Java the language is renamed JavaScript.
The only reason ecmascript sucks so much is that loads of java devs ruined it early on, and microsoft kept all the bugs in it for 'backwards compatibility'.
Standard User deleted
(deleted) Thu 10-Dec-09 19:44:27
Print Post

Re: C++ coding


[re: deleted] [link to this post]
 
Of course, the other main disadvantage to learning C++ as a first language, is that you'll become a huge snob.
Standard User deleted
(deleted) Thu 10-Dec-09 20:22:42
Print Post

Re: C++ coding


[re: deleted] [link to this post]
 
Miaow!

smile
Pages in this thread: 1 | 2 | 3 | [4] | (show all)   Print Thread

Jump to