My summer and programming

1-I have been thinking about Python. Badmephisto seems to be quite obsessed about it. :p
.

I'm taking a Python course right now. It's my first one so I can't tell you much. Badmephisto is definitely the go-to guy for that.
Compared to other languages, are you enjoying it?
My only problem is that I may not enjoy certain aspects of programming, and fail to program because of this.

Well, it is only my second programming course so I only had one more before it. It was a language the teacher created himself but he said it was very similar to C++. Assuming it is, Python is way better than C++. Much cleaner.

I'm not familiar at all with python. What tools do you use to program?

A text editor with syntax highlighting.
Pretty much.
 
3-Using QuickBASIC before, I've obviously done top-down programming, but I will look into other paradigms later on this evening.
9-I like Java. Would this be a fine choice?
3.) That's what i meant with algorithms and data structures. (other paradigms: divide-and-conquer, bottom-up and dynamic programming)
9.) Probably.
Just an example
Code:
class Test {
	public static void main(String[] args) {
		Integer a = 12;
		Integer b = 12;
		System.out.println(a == b); // => true
		
		a = 1000;
		b = 1000;
		System.out.println(a == b); // => false
	}
}
Have a look at Integer.valueOf(int) if you want to now, what's going on :).


I'm not familiar at all with python. What tools do you use to program?

A text editor with syntax highlighting.

Also, the REPL. Beats me how some people can be perfectly happy with only edit-save-compile-run...

Don't worry, i use irb a lot.
 
Last edited:
hi stach.
I don't think you will benefit from watching those lectures.

Get dirty and start making some games or something, the rest you will learn on the go as you need it.
Get the pygame library, look into some example code and projects they have on their websites, learn by example, and start making your own stuff.
If you can see the "fruits" of your labor, and have something to show for your efforts, it will motivate you further.
 
hi stach.
I don't think you will benefit from watching those lectures.

Get dirty and start making some games or something, the rest you will learn on the go as you need it.
Get the pygame library, look into some example code and projects they have on their websites, learn by example, and start making your own stuff.
If you can see the "fruits" of your labor, and have something to show for your efforts, it will motivate you further.
Ah. meph,
I knew you would just love to push me into the realm that is python. :)

The problem, my dad "doesn't want me wasting my summer away," and says that I *have* to do database work at some point over the summer.
Also, every week he is expecting something to show for my efforts. :/
If I make a game, everything's going to be, well, unfinished, a few weeks in a row.

Thanks for your input everyone.
Stachu (not stach, meph, unless you were trying to give me a nick name :p)
 
I don't see how making games would be a waste. It is a fun way to get into coding, explore coding paradigms and learn good coding practices. And why should a game necessarily take few weeks? Make a small game... and forget flashy graphics, sound, etc. It can also get you to explore other interesting areas because for example you may need some simple physics, or you may need some AI for the "bad guys", etc... You would definitely learn a lot

The reality is that databases are pretty hardcore stuff, and you can write books on the whole topic. The entire area is imo, very dry and very specific. Its something you would do if you work for a giant corporation, not something you would pick up over the summer for funzies


EDIT:
btw learning Flash/Actionscript would be my second best recommendation. It lets you do quick and dirty stuff VERY quickly, no "starter code" is necessary, and can be very easily shared because it runs in a browser. it depends on what you want to do. You can do more with Python obviously. Flash is specifically tailored towards visual applications, and has SIGNIFICANT restrictions on access to computer files, and stuff like that...
 
Last edited:
PYTHON :(
You shouldn't "have to show something to your dad every week". Or if you want to do it like that, he should set you a task of a program to make for that week, and then you can show it at then end of the week.

Database work.. isn't programming. *Most* languages will have a mature database layer API, so you would end up using that.. but you have to have something to *do* with the data don't you :P
 
Database work...can be programming. Big databases (like MSSQL) can have custom data types, variables, loop structures, triggers, cursors, etc.

It also doesn't have to be boring at all. Just have a look at the wonderful thing available at http://www.worldcubeassociation.org/results/index.php. Almost all of the work will be done by a database and queries behind the scenes. input/parsing/output is much more boring than the actual database design and querying.
 
I don't see how making games would be a waste. It is a fun way to get into coding, explore coding paradigms and learn good coding practices. And why should a game necessarily take few weeks? Make a small game... and forget flashy graphics, sound, etc. It can also get you to explore other interesting areas because for example you may need some simple physics, or you may need some AI for the "bad guys", etc... You would definitely learn a lot

The reality is that databases are pretty hardcore stuff, and you can write books on the whole topic. The entire area is imo, very dry and very specific. Its something you would do if you work for a giant corporation, not something you would pick up over the summer for funzies


EDIT:
btw learning Flash/Actionscript would be my second best recommendation. It lets you do quick and dirty stuff VERY quickly, no "starter code" is necessary, and can be very easily shared because it runs in a browser. it depends on what you want to do. You can do more with Python obviously. Flash is specifically tailored towards visual applications, and has SIGNIFICANT restrictions on access to computer files, and stuff like that...

I'm a very...uncreative person; the only hard-core "game" that I've ever made was 3d tic-tac-toe with VB a while back. Of course, I've done games since, just smaller ones.

For some reason, my dad's really stuck on me learning databases, and it seems that there's no way around that.

As for flash/Actionscript, they don't appeal to me, at least for now.

PYTHON :(
You shouldn't "have to show something to your dad every week". Or if you want to do it like that, he should set you a task of a program to make for that week, and then you can show it at then end of the week.

Database work.. isn't programming. *Most* languages will have a mature database layer API, so you would end up using that.. but you have to have something to *do* with the data don't you :P
"You shouldn't 'have to show something to your dad every week'."
-unfortunately, that's not my decision. :/
Again, doing databases; sorry.

Database work...can be programming. Big databases (like MSSQL) can have custom data types, variables, loop structures, triggers, cursors, etc.

It also doesn't have to be boring at all. Just have a look at the wonderful thing available at http://www.worldcubeassociation.org/results/index.php. Almost all of the work will be done by a database and queries behind the scenes. input/parsing/output is much more boring than the actual database design and querying.

But how does one jump into the database world? Just start reading?

We've got plenty of SQL Server books just laying around, but none of them seem to be for beginners. :/
 
Database work...can be programming. Big databases (like MSSQL) can have custom data types, variables, loop structures, triggers, cursors, etc.
http://99-bottles-of-beer.net/language-mysql-1252.html
Yeh, I guess it can be programming :P

I'm not saying don't work with DB's.. I'm just saying you should find some project to work with them on.

Make a tic-tac-toe game that records all the games or something. Who knows!
 
Back
Top