d2jsp
Log InRegister
d2jsp Forums > Off-Topic > General Chat > Homework Help > Gotta Redo Computer Programmation Basics Class > And In This One They Use Python?!?!?
Add Reply New Topic New Poll
Member
Posts: 6,314
Joined: Feb 15 2007
Gold: 852.00
Jan 20 2015 04:59pm
Started again university, but distance studies this time

New university, new system, they wont accept what I've done at the last one a few years ago.

So gotta redo (again) the computer programmation first class
(even went back to college for a short time, did it for a second time there for fun, so it'll be my third time)

soooo... they use Python to teach ppl how to code...

what a messy language to begin with .... I mean, I thought c# as a first language wasnt so good, comparing to c++, but now, python, omg


Tell me I'm wrong so I dont hate this class...
Member
Posts: 32,925
Joined: Jul 23 2006
Gold: 3,804.50
Jan 20 2015 05:24pm
Quote
what a messy language to begin with .... I mean, I thought c# as a first language wasnt so good, comparing to c++, but now, python, omg


Tell me I'm wrong so I dont hate this class...


which looks easier for a beginner?
Code
#include <iostream>

int main()
{
std::cout << "Hello World!";
}


Code
print "Hello World!"


you're right. c++ is so simple, straight forward, and makes lots of sense to a beginner compared to python.

oh wait...

This post was edited by carteblanche on Jan 20 2015 05:29pm
Member
Posts: 6,314
Joined: Feb 15 2007
Gold: 852.00
Jan 20 2015 05:33pm
Quote (carteblanche @ 20 Jan 2015 19:24)
which looks easier for a beginner?
Code
#include <iostream>

int main()
{
  std::cout << "Hello World!";
}


Code
print "Hello World!"


you're right. c++ is so simple, straight forward, and makes lots of sense to a beginner compared to python.

oh wait...


never used "simple" word

but I believe that a language where you don't have to type our variables isnt a good example of what could programmation look like.


and why scare them more than needed to with the "std::"


This post was edited by Ayla1870 on Jan 20 2015 05:34pm
Member
Posts: 32,925
Joined: Jul 23 2006
Gold: 3,804.50
Jan 20 2015 05:56pm
Quote (Ayla1870 @ Jan 20 2015 06:33pm)
never used "simple" word

but I believe that a language where you don't have to type our variables isnt a good example of what could programmation look like.


and why scare them more than needed to with the "std::"


i'm using simple because i think languages targeted at beginners should feel simpler. the more bulk you add the more confusion they'll experience. you want to keep the syntax as understandable as possible (using pseudocode if needed) so that you can focus on the programming concepts.

and it depends on the target audience, of course. to get a solid foundation, they should ideally start with the most fundamental blocks and build up. learn transistors => and/or gates => multiplexors/registers/etc => RAM/CPU/etc => data path => binary machine language => assembly language => C => other high level languages. then there's nothing magical going on. but, alas, most of the people in the intro programming class dont want a solid foundation.
Member
Posts: 16,431
Joined: Jan 27 2006
Gold: 6.66
Jan 20 2015 06:41pm
Quote (Ayla1870 @ 20 Jan 2015 19:33)
never used "simple" word

but I believe that a language where you don't have to type our variables isnt a good example of what could programmation look like.


and why scare them more than needed to with the "std::"


Yeah you can teach everyone c as a first language so they know how the computer works but it's not going to make a lot of sense a bunch of newbies who have no idea what memory or a process is.

On the other hand python is a pretty useful scripting language and it does enforce indenting I guess?
Go Back To Homework Help Topic List
Add Reply New Topic New Poll