This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2010-12-20 14:59:53

nxsupert
Scratcher
Registered: 2009-07-26
Posts: 100+

the step from scratch to c#

some may think scratch is ease, some think it is hard.
     
this form will show you how easy it is compeered to c#.

I will start with click.
this will show you how diffident scratch is: 
scratch:
<when[ b1 ]clicked>
c#:
        private void b1_Click(object sender, EventArgs e)
        {

        }

that shows you the differentness.
now I will do some scripts as a tutorial .
but let me tell you that it is very hard to make a game in c#.
scratch:
<when green flag clicked>
set( stringa )to (join(hello  )( world ))
c#:

Code:

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace WindowsFormsApplication2
{
    public partial class Form1 : Form
    {
        string stringa;*
        public Form1()
        {
            InitializeComponent();
        }

        private void Form1_Load(object sender, EventArgs e)*
        {*
            stringa = ("hello" + " world");*
        }*
    }
}

all you need to wary about is the * bits.
a string is text and a int is a number.
i suggest you use the 'Microsoft Visual Studio 2010' editor (not pro).

i will update time to time.
pleas reply.
ask me anything about c#.

Last edited by nxsupert (2010-12-21 05:07:20)


I am Back!

Offline

 

#2 2010-12-20 15:23:26

4Infinity
Scratcher
Registered: 2010-12-11
Posts: 100+

Re: the step from scratch to c#

Well of course C+ is more complicated. Scratch can still program amazing things. Take Space War 4 for example.
It's not just the programming, but the sprites.


http://2.bp.blogspot.com/_TJr9oXBg5-Y/TP_C_0Gn02I/AAAAAAAAAA8/ZEE9GCe5rVM/s1600/universe00.jpg

Offline

 

#3 2010-12-20 15:53:02

nxsupert
Scratcher
Registered: 2009-07-26
Posts: 100+

Re: the step from scratch to c#

It is called c++.it is 50% harder than c#and c# is 1200% harder than scratch   . There are a few basic function scratch doesn't have like 'fstream'.

Last edited by nxsupert (2010-12-20 15:57:10)


I am Back!

Offline

 

#4 2010-12-20 15:58:04

ProgrammingFreak
Scratcher
Registered: 2010-09-04
Posts: 1000+

Re: the step from scratch to c#

he's not talking about C++! He's talking about C#!

Offline

 

#5 2010-12-20 16:12:05

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: the step from scratch to c#

I was sort of expecting a tutorial on how to move from scratch to C# here... This is kinda the opposite. Is it not slightly defeatist to tell a load of Scratchers that Scratch is easier than C#? That's why most of them are here...  tongue


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#6 2010-12-20 16:47:19

4Infinity
Scratcher
Registered: 2010-12-11
Posts: 100+

Re: the step from scratch to c#

nxsupert wrote:

It is called c++.it is 50% harder than c#and c# is 1200% harder than scratch   . There are a few basic function scratch doesn't have like 'fstream'.

95% of all statistics aren't true...
Either way, are you just calling people who use scratch dumb or something.


http://2.bp.blogspot.com/_TJr9oXBg5-Y/TP_C_0Gn02I/AAAAAAAAAA8/ZEE9GCe5rVM/s1600/universe00.jpg

Offline

 

#7 2010-12-21 04:42:13

nxsupert
Scratcher
Registered: 2009-07-26
Posts: 100+

Re: the step from scratch to c#

4Infinity wrote:

nxsupert wrote:

It is called c++.it is 50% harder than c#and c# is 1200% harder than scratch   . There are a few basic function scratch doesn't have like 'fstream'.

95% of all statistics aren't true...
Either way, are you just calling people who use scratch dumb or something.

i am not!!

people who use scratch and c# are equally clever in ICT.


I am Back!

Offline

 

#8 2010-12-21 04:44:03

nxsupert
Scratcher
Registered: 2009-07-26
Posts: 100+

Re: the step from scratch to c#

sparks wrote:

I was sort of expecting a tutorial on how to move from scratch to C# here... This is kinda the opposite. Is it not slightly defeatist to tell a load of Scratchers that Scratch is easier than C#? That's why most of them are here...  tongue

good point , I will get to work on it.


I am Back!

Offline

 

#9 2010-12-21 05:20:13

Daffy22
Scratcher
Registered: 2008-12-15
Posts: 500+

Re: the step from scratch to c#

I would consider myslef quite good at C# but I wouldn't say that joining 2 strings together in C# is harder than using the join block in Scratch.
string join = string1 + string2;
easy  smile


http://img201.imageshack.us/img201/1784/logosmalle.png
"Spectacular - 5 Star" -  CNET.com Editor.

Offline

 

#10 2010-12-21 05:27:51

nxsupert
Scratcher
Registered: 2009-07-26
Posts: 100+

Re: the step from scratch to c#

Daffy22 wrote:

I would consider myslef quite good at C# but I wouldn't say that joining 2 strings together in C# is harder than using the join block in Scratch.
string join = string1 + string2;
easy  smile

i know , but when i start to do stuff like time (and possible fstream) it will get harder.


I am Back!

Offline

 

#11 2010-12-21 05:41:43

Daffy22
Scratcher
Registered: 2008-12-15
Posts: 500+

Re: the step from scratch to c#

nxsupert wrote:

Daffy22 wrote:

I would consider myslef quite good at C# but I wouldn't say that joining 2 strings together in C# is harder than using the join block in Scratch.
string join = string1 + string2;
easy  smile

i know , but when i start to do stuff like time (and possible fstream) it will get harder.

I just don't think saying 'c# is harder than scratch' is the right thing. Have you tried programming in squeak? it is a harder than C# in it's own ways. And C# is harder in it's own ways too.  smile


http://img201.imageshack.us/img201/1784/logosmalle.png
"Spectacular - 5 Star" -  CNET.com Editor.

Offline

 

#12 2010-12-21 05:46:45

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: the step from scratch to c#

Not sure how you got such accurate statistical percentages... I'd love it if you could link me to the research source for me to have a look at. I always thought that anything higher than 100% was a statistical impossibility so how you got 1200% is beyond me  smile


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#13 2010-12-21 05:52:39

nxsupert
Scratcher
Registered: 2009-07-26
Posts: 100+

Re: the step from scratch to c#

sparks wrote:

Not sure how you got such accurate statistical percentages... I'd love it if you could link me to the research source for me to have a look at. I always thought that anything higher than 100% was a statistical impossibility so how you got 1200% is beyond me  smile

1% = 0.01 = X 0.01
1200% = 12 = X 12
simple maths .
it is impossible to give 110% of you money but it is possible for something to be 110% harder than something

and the statistical percentages were from my own experience .

Last edited by nxsupert (2010-12-21 05:55:50)


I am Back!

Offline

 

#14 2010-12-21 06:02:28

nxsupert
Scratcher
Registered: 2009-07-26
Posts: 100+

Re: the step from scratch to c#

Daffy22 wrote:

nxsupert wrote:

Daffy22 wrote:

I would consider myslef quite good at C# but I wouldn't say that joining 2 strings together in C# is harder than using the join block in Scratch.
string join = string1 + string2;
easy  smile

i know , but when i start to do stuff like time (and possible fstream) it will get harder.

I just don't think saying 'c# is harder than scratch' is the right thing. Have you tried programming in squeak? it is a harder than C# in it's own ways. And C# is harder in it's own ways too.  smile

i see what you are saying.
maybe i should say scratch is more limited than c#.


I am Back!

Offline

 

#15 2010-12-21 06:47:27

Daffy22
Scratcher
Registered: 2008-12-15
Posts: 500+

Re: the step from scratch to c#

nxsupert wrote:

Daffy22 wrote:

nxsupert wrote:


i know , but when i start to do stuff like time (and possible fstream) it will get harder.

I just don't think saying 'c# is harder than scratch' is the right thing. Have you tried programming in squeak? it is a harder than C# in it's own ways. And C# is harder in it's own ways too.  smile

i see what you are saying.
maybe i should say scratch is more limited than c#.

yes, thats probbaly better  smile


http://img201.imageshack.us/img201/1784/logosmalle.png
"Spectacular - 5 Star" -  CNET.com Editor.

Offline

 

#16 2010-12-23 10:47:48

nxsupert
Scratcher
Registered: 2009-07-26
Posts: 100+

Re: the step from scratch to c#

Daffy22 wrote:

nxsupert wrote:

Daffy22 wrote:


I just don't think saying 'c# is harder than scratch' is the right thing. Have you tried programming in squeak? it is a harder than C# in it's own ways. And C# is harder in it's own ways too.  smile

i see what you are saying.
maybe i should say scratch is more limited than c#.

yes, thats probbaly better  smile

ok


I am Back!

Offline

 

#17 2010-12-23 14:45:03

TheSuccessor
Scratcher
Registered: 2010-04-23
Posts: 1000+

Re: the step from scratch to c#

sparks wrote:

Not sure how you got such accurate statistical percentages... I'd love it if you could link me to the research source for me to have a look at. I always thought that anything higher than 100% was a statistical impossibility so how you got 1200% is beyond me  smile

% merely means 'out of 100'. 1200% = 1200 / 100 = 12. Therefore if something 1 is 1200% of something 2 it means something 1 is twelve times larger than something 2.


/* No comment */

Offline

 

#18 2010-12-24 11:15:23

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: the step from scratch to c#

nxsupert wrote:

It is called c++.it is 50% harder than c#and c# is 1200% harder than scratch   . There are a few basic function scratch doesn't have like 'fstream'.

1200%? No way! Maybe 10 or 20% at the most. It only starts to get confusing when you try using things like XNA.


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#19 2010-12-24 11:19:35

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: the step from scratch to c#

I still didn't think you can get a percentage higher than 100%...


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#20 2010-12-24 12:22:36

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: the step from scratch to c#

sparks wrote:

I still didn't think you can get a percentage higher than 100%...

It's mostly used in production rates I think.
Like if you produce 10 things one day, then 110 the next, thats an increase of 110% (But don't trust me right now, im tired.)


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#21 2010-12-28 04:46:32

nxsupert
Scratcher
Registered: 2009-07-26
Posts: 100+

Re: the step from scratch to c#

markyparky56 wrote:

nxsupert wrote:

It is called c++.it is 50% harder than c#and c# is 1200% harder than scratch   . There are a few basic function scratch doesn't have like 'fstream'.

1200%? No way! Maybe 10 or 20% at the most. It only starts to get confusing when you try using things like XNA.

well in c++ you need to make shore that there are NO errors or you might end up deleting everything on your computer(1 0f 20 bad things that can happen).


I am Back!

Offline

 

#22 2010-12-28 14:39:25

nxsupert
Scratcher
Registered: 2009-07-26
Posts: 100+

Re: the step from scratch to c#

new tutorial coming soon pleas give me what you want to know.


I am Back!

Offline

 

#23 2010-12-29 04:28:32

nxsupert
Scratcher
Registered: 2009-07-26
Posts: 100+

Re: the step from scratch to c#

anyone ?


I am Back!

Offline

 

#24 2010-12-30 08:47:24

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: the step from scratch to c#

nxsupert wrote:

markyparky56 wrote:

nxsupert wrote:

It is called c++.it is 50% harder than c#and c# is 1200% harder than scratch   . There are a few basic function scratch doesn't have like 'fstream'.

1200%? No way! Maybe 10 or 20% at the most. It only starts to get confusing when you try using things like XNA.

well in c++ you need to make shore that there are NO errors or you might end up deleting everything on your computer(1 0f 20 bad things that can happen).

What kind of program were you creating?! If you stick to things not involving File I/O then you will never encounter something like that.

@nxsupert
Maybe start with things like getting the hang of using commands such as
Headers, like System and its sub-sections like System.IO etc.
Basic input/output like:

Code:

Console.writeline("Hello World!");
Console.read();

http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#25 2010-12-30 18:32:57

HD123
Scratcher
Registered: 2009-12-05
Posts: 500+

Re: the step from scratch to c#

Concatenating strings is also easy in Python:

Code:

def concat(a, b):
    c = a + ' ' + b
    print(c)

Call function:

Code:

concat('string1', 'string2')

Last edited by HD123 (2010-12-30 18:34:17)


~~HD123~~
Treat others as you want to be treated. |  big_smile  | http://i.imgur.com/OaNrY.gif | http://blocks.scratchr.org/libstatus.php?user=HD123&amp;online=http://lemonfanatic.webs.com/ONLINE.png&amp;offline=http://lemonfanatic.webs.com/OFFLINE.png

Offline

 

Board footer