Register - Login
Views: 99846828
Main - Memberlist - Active users - Calendar - Wiki - IRC Chat - Online users
Ranks - Rules/FAQ - Stats - Latest Posts - Color Chart - Smilies
05-04-22 12:42:59 AM
Jul - Computers and Technology - So what's your favourite programming language? New poll - New thread - New reply
Pages: 1 2 3Next newer thread | Next older thread
What's your favourite programming language?
Well, if you can code, that is >_>
C/C++
 
30.2% of users, 13 votes (41.9%)
C#
 
7.0% of users, 3 votes (9.7%)
Pascal   0.0% of users, 0 votes (0.0%)
Basic
 
2.3% of users, 1 vote (3.2%)
PHP
 
23.3% of users, 10 votes (32.3%)
Python
 
11.6% of users, 5 votes (16.1%)
Perl   0.0% of users, 0 votes (0.0%)
Assembly
 
4.7% of users, 2 votes (6.5%)
Java
 
4.7% of users, 2 votes (6.5%)
Something else (post?)
 
9.3% of users, 4 votes (12.9%)
I'm not a coder!
 
7.0% of users, 3 votes (9.7%)
Multi-voting is enabled. 31 users have voted.

Ninji

Birdo
Why did my user title say I'm a toaster anyway
Level: 88


Posts: 1119/2014
EXP: 6639027
For next: 11637

Since: 07-26-07

Pronouns: he/him or they/them
From: Glasgow, Scotland

Since last post: 114 days
Last activity: 7 days

Posted on 01-04-10 02:24:24 AM Link | Quote
I thought this would be an interesting poll. What's your favourite programming language(s), and why?

I voted for Python and PHP because they're just pretty much the most flexible.

PHP is awesome for web apps. Python can do practically anything else. I've used it to write IRC bots, level editors, one-use scripts and many other things

Posting a reason (if you vote) would be cool, but you don't need to

____________________
[00:17:56] <+XkeeperSucks> treeki the spoiled brat go get speakersCurrent Project: REGGIE! - NSMBWii Level Editor
Hacking Tools: NSMB Editor 5 · Nitro Explorer · NARC Explorer
Taryn

Passed away.

Thanks for being a part of us, even if it wasn't always on the best of terms.

1987-2014


Level: 204


Posts: 4949/14742
EXP: 121755544
For next: 1594274

Since: 09-01-09

From: Seattle

Since last post: 10.1 years
Last activity: 9.8 years

Posted on 01-04-10 02:33:45 AM Link | Quote
I'd go with C/C++ and PHP. Java is much too picky about rules and such for me, although I've used it a lot for school. Maybe I should try Python sometime

Old BASICs were good for their time, but tended to be too slow, and Pascal is just weird for someone more used to C and C++.

____________________
~Terra

TKB Super Mario Bros. - Complete
TKB Super Mario Bros. 3 - In progress; 21/113 maps
Rambly

Level: 106


Posts: 982/3083
EXP: 12578191
For next: 93752

Since: 07-22-07

Pronouns: she/her

Since last post: 280 days
Last activity: 263 days

Posted on 01-04-10 02:51:13 AM Link | Quote
PHP.

Primarily because I know absolutely nothing about any of the other programming languages on the list. I'm not even that good at PHP.
Ninji

Birdo
Why did my user title say I'm a toaster anyway
Level: 88


Posts: 1151/2014
EXP: 6639027
For next: 11637

Since: 07-26-07

Pronouns: he/him or they/them
From: Glasgow, Scotland

Since last post: 114 days
Last activity: 7 days

Posted on 01-04-10 03:11:07 AM Link | Quote
Originally posted by Terra
Maybe I should try Python sometime

Python is fun! You should try it

It's pretty easy to learn but it's powerful because of all the libraries you can use with it. You can make command line stuff easily with the built-in modules and nothing else. Py2exe lets you compile scripts to standalone executables. PyQt4 (and wxPython, PyGTK and others) let you create full GUI apps. Django, Web.py and other frameworks let you make web apps with it.

Of course, not all of that stuff is useful for everyone but it still shows how flexible the language is

____________________
[00:17:56] <+XkeeperSucks> treeki the spoiled brat go get speakersCurrent Project: REGGIE! - NSMBWii Level Editor
Hacking Tools: NSMB Editor 5 · Nitro Explorer · NARC Explorer
Post 998/1311 (42 days), online 2 days ago
Posted on 01-04-10 03:18:51 AM Link | Quote
All I've done lately is C/C++ and PHP, and it's a bit hard to pick a favorite between them when they're (usually) not used for the same thing ...

I'd probably go with C since I can actually make programs, and then waste my time over-optimizing them (like fitting a MIDI player, complete with graphical display, into 20k)


But PHP can also run in commandline, so I tend to use that for easier coding (or using MySQL) when I don't really need high performance ... and of course I use it for web scripting as well

____________________



#50 
Ninji

Birdo
Why did my user title say I'm a toaster anyway
Level: 88


Posts: 1157/2014
EXP: 6639027
For next: 11637

Since: 07-26-07

Pronouns: he/him or they/them
From: Glasgow, Scotland

Since last post: 114 days
Last activity: 7 days

Posted on 01-04-10 03:20:13 AM Link | Quote
Originally posted by Milly
All I've done lately is C/C++ and PHP, and it's a bit hard to pick a favorite between them when they're (usually) not used for the same thing ...

I'd probably go with C since I can actually make programs, and then waste my time over-optimizing them (like fitting a MIDI player, complete with graphical display, into 20k)


But PHP can also run in commandline, so I tend to use that for easier coding (or using MySQL) when I don't really need high performance ... and of course I use it for web scripting as well

Coding simple stuff in C/C++ is fun for me, but I find it hard to write larger apps in it (Especially GUI stuff) because I get bogged down in memory allocation and OOP (more so for Qt) and all that crap. I wish I was better at it though, it's the one main thing in programming I really wish I could do.

____________________
[00:17:56] <+XkeeperSucks> treeki the spoiled brat go get speakersCurrent Project: REGGIE! - NSMBWii Level Editor
Hacking Tools: NSMB Editor 5 · Nitro Explorer · NARC Explorer
Sukasa

Level: 123


Posts: 1863/4326
EXP: 20937129
For next: 294137

Since: 07-07-07


Since last post: 1.1 years
Last activity: 1.1 years

Posted on 01-04-10 03:34:05 AM Link | Quote
Weighted Storage Cube Dispenser
Cake Slice
PHP, VB.NET, and Javascript.

PHP because it's so versatile, VB.NET because it's so powerful and still versatile, and Javascript because clientside is fun!

____________________
Portal ExitWeighted Storage Cube to the head
Portal Entrance
Transforming cats into robots since 1989!
Posted on 01-04-10 03:39:55 AM Link | Quote

Lain's post №404

C♯, PHP, and Ruby are my favourite programming languages.

PHP because it can be used on virtually any server, C♯ because it's pretty much a way better version of VB.NET (syntax wise, i++ ftw!), and Ruby because it's just... awesome. And plus I can use it to program my IRC scripts (as some Julers know.)

____________________
Ninji

Birdo
Why did my user title say I'm a toaster anyway
Level: 88


Posts: 1162/2014
EXP: 6639027
For next: 11637

Since: 07-26-07

Pronouns: he/him or they/them
From: Glasgow, Scotland

Since last post: 114 days
Last activity: 7 days

Posted on 01-04-10 03:42:25 AM Link | Quote
Oh wow, I totally forgot about Ruby when I was making the poll.

I've seen some code examples before, but the syntax seems pretty weird which drives me away from it. Although I thought that about Python as well at first.. maybe I should try Ruby out some day.

____________________
[00:17:56] <+XkeeperSucks> treeki the spoiled brat go get speakersCurrent Project: REGGIE! - NSMBWii Level Editor
Hacking Tools: NSMB Editor 5 · Nitro Explorer · NARC Explorer
VL-Tone
Member
Super Mario 64 forum moderator
Level: 53


Posts: 560/621
EXP: 1136565
For next: 20554

Since: 07-27-07

From: Montreal, Canada

Since last post: 4.7 years
Last activity: 7 days

Posted on 01-04-10 03:46:30 AM (last edited by VL-Tone at 01-04-10 12:47 AM) Link | Quote
Time: One second ago - Date: Tomorrow - Weather: Sunshine - Mood: Moody Answer to the universe: Yes
As you might have guessed, my favourite programming language is Lingo (Adobe Director's scripting language) which I used to make TT64. I won't say it's the best/most powerful, but it's the one I know best.

What I like about it is how little initialization I have to do for my code, and how I don't have to care about memory management. I also love how I have access to relatively powerful 3d API's (again with much less initialization code than directly dealing with OpenGL) and can easily manipulate bitmaps offscreen, and on-screen, as "sprites". You can layout your interface directly on the screen using GUI tools and then control each item via scripting.

Of course it has its caveats. Aside from being expensive and closed-source, it's also neglected by Adobe. Also, you can't really deal with real OS-native widgets, and create things like custom dialog boxes. For example I had to code almost from scratch a scrolling text field widget because of limitations of the built-in ones. It's also much slower than C/C++.

I would love to learn more C/C++, but at this point, recoding TT64 in C/C++ would be too much work for me.



____________________
Ninji

Birdo
Why did my user title say I'm a toaster anyway
Level: 88


Posts: 1165/2014
EXP: 6639027
For next: 11637

Since: 07-26-07

Pronouns: he/him or they/them
From: Glasgow, Scotland

Since last post: 114 days
Last activity: 7 days

Posted on 01-04-10 03:48:26 AM Link | Quote
How does Lingo work anyway? I always thought it was one of those trigger/event/action drag-and-drop type scripting languages (Which are very simplistic and need a special UI to edit code in) but I don't think something like TT64 would be doable at all in one of those.

I guess I'm probably totally wrong

____________________
[00:17:56] <+XkeeperSucks> treeki the spoiled brat go get speakersCurrent Project: REGGIE! - NSMBWii Level Editor
Hacking Tools: NSMB Editor 5 · Nitro Explorer · NARC Explorer
Anya

Trudging Scribe



Post 15439/23359
Posted on 01-04-10 04:10:19 AM Link | Quote
*votes I'm not a coder!

Yea...I'm going to leave this thread now.

____________________

IIMarckus
Member
Level: 25


Posts: 53/111
EXP: 82297
For next: 7323

Since: 10-11-08


Since last post: 3.0 years
Last activity: 1.8 years

Posted on 01-04-10 04:57:03 AM Link | Quote

I can’t stand to code in PHP anymore. Its terrible Unicode support alone is reason enough to run far, far away, and that’s not even the only one.

I guess I like C. Unlike many languages it is simple, well‐documented, and widely used; basically assembly but much faster to write.

Unfortunately C++ is a big slow beast compared to C (e.g. templates, merely by being in the language, cause compile times to increase dramatically).

I haven’t gotten around to learning Javascript yet, but Javascript: The Good Parts makes it sound quite nice.

____________________
MLT_REQ

Joe
Common spammer
🍬
Level: 111


Posts: 1213/3392
EXP: 14502150
For next: 366210

Since: 08-02-07

From: Pororoca

Since last post: 13 days
Last activity: 1 hour

Posted on 01-04-10 05:05:51 AM Link | Quote
I know a bit of Basic and PHP, but those were "it's all I have to work with" kind of things.

The language I can really wrap my mind around is assembly. I've done very little with it, however. (Mostly lack of things I actually want to do.)

I should learn Python, considering how useful it seems to be. (Multiplatform GUI programming go!)

____________________
VL-Tone
Member
Super Mario 64 forum moderator
Level: 53


Posts: 561/621
EXP: 1136565
For next: 20554

Since: 07-27-07

From: Montreal, Canada

Since last post: 4.7 years
Last activity: 7 days

Posted on 01-04-10 05:14:54 AM Link | Quote
Time: One second ago - Date: Tomorrow - Weather: Sunshine - Mood: Moody Answer to the universe: Yes
Originally posted by Treeki
How does Lingo work anyway? I always thought it was one of those trigger/event/action drag-and-drop type scripting languages (Which are very simplistic and need a special UI to edit code in) but I don't think something like TT64 would be doable at all in one of those.

I guess I'm probably totally wrong


Well you are almost totally wrong

While Director comes with a small "Library" of buttons and "behaviors" that you can drag and drop, and it's possible to do simple stuff (like interactive animation) without writing a single line of code, Lingo is a full-featured programming language with hundreds of commands/functions, you can even do OOP with it.

Here's what Lingo looks like, but it's just a small example, you can do much more complex things with it.

on mariopal

global source,filepath,mariocolz,colnum

--Set currently edited color variable to 1
colnum=1

--Reopen the ROM
source=bagetfile (filepath,"rw")

--Load 144 bytes from bank 54 (Mario's bank)
listo=loadlistdec (54,0,144)

--Create a blank bitmap instance
canvas=image (16*6,16*6,32)

--Create an empty list variable (global) to hold current Mario palette.
mariocolz=[]

--Reclose the ROM
baclosefile (source)

--Initialize color position variable
cpos=1

--Set variable tile to a black bitmap square
tile=member ("paltile").image

--Set the source rectangle
srex=tile.rect

--Loop through 36 colors
repeat with i=0 to 35

--Set the x and y positions for the palette bitmap
x=(i mod 6)*16
y=(i / 6)*16

--Create a color variable containing R, G and B
col=rgb (listo[cpos],listo[cpos+1],listo[cpos+2])

--Add the color to the palette list variable
add mariocolz,col

--Set the destination rectangle for the tile in the palette bitmap
drex= rect (x,y,x+16,y+16)

--Copy the tile in the palette bitmap, colorizing with variable "col"
canvas.copyPixels(tile, drex, srex, [#ink:0,#color:col])

--Increment the color position
cpos=cpos+4
end repeat

--Set the content of image member to canvas.
member ("mariopal").image=canvas

--Call the custom "editcolor" handle to reset editing position in interface.
editcolor colnum
end



This is a simple routine that loads Mario's palette from the ROM, then draw the palette bitmap.

____________________
Ninji

Birdo
Why did my user title say I'm a toaster anyway
Level: 88


Posts: 1168/2014
EXP: 6639027
For next: 11637

Since: 07-26-07

Pronouns: he/him or they/them
From: Glasgow, Scotland

Since last post: 114 days
Last activity: 7 days

Posted on 01-04-10 10:04:46 AM Link | Quote
Originally posted by VL-Tone
Originally posted by Treeki
How does Lingo work anyway? I always thought it was one of those trigger/event/action drag-and-drop type scripting languages (Which are very simplistic and need a special UI to edit code in) but I don't think something like TT64 would be doable at all in one of those.

I guess I'm probably totally wrong


Well you are almost totally wrong

Now I wish I could remember -where- I got that idea from. I think I saw an old screenshot of Director once (at least 6-7 years ago?) and I saw an interface like that, so for some reason I thought that Lingo (and Director in its entirety) worked like that.

____________________
[00:17:56] <+XkeeperSucks> treeki the spoiled brat go get speakersCurrent Project: REGGIE! - NSMBWii Level Editor
Hacking Tools: NSMB Editor 5 · Nitro Explorer · NARC Explorer
FieryIce

Luigi
Level: 119


Posts: 567/4161
EXP: 18759667
For next: 169624

Since: 12-18-08

From: Chicago

Since last post: 189 days
Last activity: 3 days

Posted on 01-04-10 11:30:47 AM Link | Quote
PHP but only because of the fact I don't have to be converting variables through datatypes just to do simple stuff... Then C# would be my favorite, I like how the code looks after you're done xP

____________________
I can help you learn Spanish! I can also chat in Italian and French but not fluently so expect small mistakes. Jag lär mig svenska, så jag vill gör svenska vänner.
OoBurns
?
Level: 60


Posts: 589/806
EXP: 1684285
For next: 88493

Since: 07-04-07

From: USA

Since last post: 10.4 years
Last activity: 9.8 years

Posted on 01-04-10 01:38:26 PM Link | Quote
PHP: It's my favorite for doing Web-bases stuff, as well as hacking together a quick CLI script to do something. I like it because of all the global functions you can just use; it's just so handy to be able to use (albeit inconsistently named) functions without importing them first.

C#: Favorite for doing GUI stuff on Windows. Super easy to make interfaces, and the language itself is a lot like Java.

Python, for me, falls between PHP and C# in terms of things I like to do with it. I'm not as familiar with it yet, so I still prefer PHP for throwing a quick script together, but it's definitely replaced Java as my preferred language for doing command-line CLI (and cross-platform GUI) programs that would benefit from OOP, since PHP's object system was quite obviously hacked on as an afterthought.

____________________
Ninji

Birdo
Why did my user title say I'm a toaster anyway
Level: 88


Posts: 1226/2014
EXP: 6639027
For next: 11637

Since: 07-26-07

Pronouns: he/him or they/them
From: Glasgow, Scotland

Since last post: 114 days
Last activity: 7 days

Posted on 01-04-10 01:41:35 PM Link | Quote
Originally posted by OoBurns
PHP: It's my favorite for doing Web-bases stuff, as well as hacking together a quick CLI script to do something. I like it because of all the global functions you can just use; it's just so handy to be able to use (albeit inconsistently named) functions without importing them first.
I agree, the global functions are useful. The naming sucks though, and for some reason I can never remember the parameters for functions. I love the PHP manual shortcut though: www.php.net/functionname

Originally posted by OoBurns
C#: Favorite for doing GUI stuff on Windows. Super easy to make interfaces, and the language itself is a lot like Java.
I used to be the same way, but Windows Forms gets really limiting sometimes. Now that I've used PyQt4 I don't think I'll go back to WinForms.

Originally posted by OoBurns
Python, for me, falls between PHP and C# in terms of things I like to do with it. I'm not as familiar with it yet, so I still prefer PHP for throwing a quick script together, but it's definitely replaced Java as my preferred language for doing command-line CLI (and cross-platform GUI) programs that would benefit from OOP, since PHP's object system was quite obviously hacked on as an afterthought.
Just wondering, what toolkit do you use for GUI stuff in Python?

____________________
[00:17:56] <+XkeeperSucks> treeki the spoiled brat go get speakersCurrent Project: REGGIE! - NSMBWii Level Editor
Hacking Tools: NSMB Editor 5 · Nitro Explorer · NARC Explorer
Taryn

Passed away.

Thanks for being a part of us, even if it wasn't always on the best of terms.

1987-2014


Level: 204


Posts: 4983/14742
EXP: 121755544
For next: 1594274

Since: 09-01-09

From: Seattle

Since last post: 10.1 years
Last activity: 9.8 years

Posted on 01-04-10 02:08:11 PM Link | Quote
I wish I knew how to do GUI apps. The computer science programme here only teaches us command-line stuff of the style that people could do back in the '70s

I eventually got a mini-class on it, but it was from someone at the school who barely knew English, and I didn't know any Arabic, so I didn't learn much.

____________________
~Terra

TKB Super Mario Bros. - Complete
TKB Super Mario Bros. 3 - In progress; 21/113 maps
Pages: 1 2 3Next newer thread | Next older thread
Jul - Computers and Technology - So what's your favourite programming language? New poll - New thread - New reply


Rusted Logic

Acmlmboard - commit 47be4dc [2021-08-23]
©2000-2022 Acmlm, Xkeeper, Kaito Sinclaire, et al.

42 database queries, 7 query cache hits.
Query execution time: 0.122427 seconds
Script execution time: 0.045790 seconds
Total render time: 0.168217 seconds