I like text based languages. Python is a lot of fun to use and is more powerful that visual languages. I am thinking of learning C, but I want to completely MASTER python first. I am learning how to set up web servers at Built-It-Yourself but haven't started leaning php yet.
Offline
midnightleopard wrote:
I like text based languages. Python is a lot of fun to use and is more powerful that visual languages. I am thinking of learning C, but I want to completely MASTER python first. I am learning how to set up web servers at Built-It-Yourself but haven't started leaning php yet.
PHP is easy and very cool!
Offline
nXIII wrote:
Daffy22 wrote:
nXIII wrote:
I don't think you should be Loling at this. Your language has nothing to do with Scratch other than having similar methods. That's like me saying VB is like a newline-delimited C because it has data types.you don't understand I am making a text based scratch like this:
[move 30 steps]
[if on edge bounce]
ect...
I will base certain parts (like variables) on PHP because I like the PHP syntax.![]()
but what about [set something to something]?
I understand perfectly, it's YOU who doesn't understand!
that will all be part of it. imagine every scratch block and then just image what you would type to show what the block looks like:
(boolean)
[Stack]
<reporter>
^hat^
________________________________
you see, just image every block but in text. as for variables something like this:
[var1=6]
(var1)
Offline
$variable = value
Like in PHP... That would probably better and more... "powerful" or flexibility in programming. It's something I don't like about Python, you can't define a variable in something like:
variable = key_down
pygame.variable
That would give you an error. But if you had:
$variable = key_down
pygame.$variable
Then python would understand that you want to use a variable and not just a word/phrase.
Offline
Magnie wrote:
$variable = value
Like in PHP... That would probably better and more... "powerful" or flexibility in programming. It's something I don't like about Python, you can't define a variable in something like:
variable = key_down
pygame.variable
That would give you an error. But if you had:
$variable = key_down
pygame.$variable
Then python would understand that you want to use a variable and not just a word/phrase.
JavaScript does this too with its use of dictionary-like objects, i.e.
var myObject = {
Foo: "..."
};
var property = "Foo";
myObject[property] = "Bar"; //equivalent to myObject.Foo = "Bar";
Last edited by nXIII (2010-09-27 14:39:47)
Offline
Interesting... That would be very useful, but then it messes my head up... *sighs* It's still complicated to understand it though.
Offline
how are you making it?
^When flag clicked^
[ask 'How are you doing that? What language?']
Offline
JSO... I know what you are talking about... Design blocks and ModKit.
Design Blocks
and
ModKit
Design blocks is like scratch, but just pen blocks and advanced math operators I think. it is really hard. Modkit controls arduino and is quite helpful!
Last edited by midnightleopard (2010-09-28 16:11:34)
Offline
Alright, most text based lanuages suck in my opinion.
Python, PHP, C#, and JS dont.
And also, a environment like that would be very rough to make, especially presentation mode.
Offline
Daffy22 wrote:
bbbeb wrote:
Text based Anything sucks!!
![]()
![]()
Thats my opinion. And also whi I dont do C++ too often.![]()
tough luck bbbed! Most languages are text based!
![]()
I know. Which is why I usually do a lot with Visual Basic and Python.
Offline