Jump to content

Favourite Development Language & Enviroment


Recommended Posts

So then i decided to look at C++ and i realised that it was almost exactly like the script we use in game modding. the layout is the same and most of the functions.

Do not be fooled be the similarity of syntactic elements. C++ has a lot of details that you do not usually care about in a scripting language.

 

I was wondering, which one would be better to learn out of C++ or Perl?

And what do you want?

Link to comment
Share on other sites

And what do you want?

 

Well, at the stage i am at i dont actually want anything. Just to learn a programming language for future use or out of interest. I suppose i should ask, which one is the easyer to learn would you say? and which one could i do more with?

Edited by glovemaster
Link to comment
Share on other sites

I have just had a look at java and its even more familiar, layout-wise, as it uses "void" and similar functions to KotOR's script syntax.

I will be happy to make the effort to learn a more difficult programming language. Which would you say i could do more with? I've seen Perl Tk scripts with a graphical interface and Executable Java files. I would be more tempted to learn java from the programs i have seen but which do you suggest?

Link to comment
Share on other sites

Seriously, perl has it's place, but it's pointless for a newb to even bother with it, Java is far superior as a first language.

A lot of beginners have trouble with the concept of object-oriented programming, that's why our first year university programming course is going to switch from Java to Python (I personally have been marking a lot of really terrible Java code). Java is a good object-oriented application programming language, but procedural thinking should be set straight first. And Perl is very good to hack together useful and usable things quickly, just what a newbie wants. :) I'm not advocating Perl as "the one and the only", but given a choice between the two, I'd go for Perl first.

Link to comment
Share on other sites

I suppose we have a difference of opinion, as I suppose intention of use is always key for me.

 

I generally take the opinion of, is it useful for making a game (perl is useful for making tools, python is aswell, especially file conversion), but the core needs for me are simply, how useful is the language for making a game?

 

I'm often in two minds about BASIC languages being a good option for newb's, on the one hand it's easy to get something off the ground quickly, but a pain in the ass to build anything of substancial weight.

 

No language is bad, not even brainf**k, as it has a potential purpose, so it's more a matter of taste. Also perl looks pretty ugly.

Edited by @\NightandtheShape/@

RS_Silvestri_01.jpg

 

"I'm a programmer at a games company... REET GOOD!" - Me

Link to comment
Share on other sites

My favourite languages:

 

Machine/Assembly (There's just something awesome about having absolute control over the machine - especially when you can embed it in C)

Haskell (The purest functional language around, and a joy for maths majors like me!)

C++ (For practical stuff)

Java (Some fun things to do in jaba and it is a relatively 'neat' language)

Python (Just learning this, but seems VERY powerful and uses whitespace instead of punctuation, like Haskell)

 

I use Bloodshed Dev C++ for a lot of stuff on windows (even non C stuff). I am too lazy to install Crimson Editor.

 

On Linux I use Kate - an awesome editor.

 

I haven't really done much practical stuff yet. I'm in my second year of Computer Science/Applied Maths at the Australian National University. Mostly focusing on Software/Hardware interaction, distributed systems and computation (algorithms for solving maths problems, often using linear algebra, mainly).

 

Even so, I actually just want to be a graphics programmer.

 

P.S.: Perl sucks. Go Python!

Link to comment
Share on other sites

No language is bad, not even brainf**k, as it has a potential purpose, so it's more a matter of taste. Also perl looks pretty ugly.

I think templated C++ wins the award here.

 

P.S.: Perl sucks. Go Python!

NO U!

 

 

 

 

/Perl fanboy

Edited by Diamond
Link to comment
Share on other sites

C++ for me, though I am really starting to come around to C# for either tools or rapid prototyping.

The study of history is a powerful antidote to contemporary arrogance. It is humbling to discover how many of our glib assumptions, which seem to us novel and plausible, have been tested before, not once but many times and in innumerable guises; and discovered to be, at great human cost, wholly false.

--Paul Johnson

Link to comment
Share on other sites

VB.net, C# and MS SQL Server 2005, just because they are so much easier to program with.

Life is like a clam. Years of filtering crap then some bastard cracks you open and scrapes you into its damned mouth, end of story.

- Steven Erikson

Link to comment
Share on other sites

  • 3 weeks later...

Resurrection time.

 

The following program is valid in EIGHT programming languages:

  1. COBOL (ANSI)
  2. Pascal (ISO)
  3. Fortran (ANSI, f77)
  4. C (ANSI-ish)
  5. PostScript
  6. Linux/Unix shell script (bash, sh, csh)
  7. x86 machine language (MS-DOS, Win32, Linux)
  8. Perl (version 5)

True insanity.

 

                                                                        (*O/*_/
Cu  #%* )pop mark/CuG 4 def/# 2 def%%%%@@P[TX---P\P_SXPY!Ex(mx2ex("SX!Ex4P)Ex=
CuG #%*                                                                  *+Ex=
CuG #%*------------------------------------------------------------------*+Ex=
CuG #%*   POLYGLOT - a program in eight languages      15 February 1991  *+Ex=
CuG #%*   10th Anniversary Edition                      1 December 2001  *+Ex=
CuG #%*                                                                  *+Ex=
CuG #%*   Written by Kevin Bungard, Peter Lisle, and Chris Tham          *+Ex=
CuG #%*                                                                  *+Ex=
CuG #%*   Polyglot suports the following languages:                      *+Ex=
CuG #%*     1. COBOL (ANSI)                                              *+Ex=
CuG #%*     2. Pascal (ISO)                                              *+Ex=
CuG #%*     3. Fortran (ANSI, f77)                                       *+Ex=
CuG #%*     4. C (ANSI-ish)                                              *+Ex=
CuG #%*     5. PostScript                                                *+Ex=
CuG #%*     6. Linux/Unix shell script (bash, sh, csh)                   *+Ex=
CuG #%*     7. x86 machine language (MS-DOS, Win32, Linux)               *+Ex=
CuG #%*     8. Perl (version 5)                                          *+Ex=
CuG #%*                                                                  *+Ex=
CuG #%*   Usage:                                                         *+Ex=
CuG #%*     1. Rename this file to polyglot.[cob|pas|f77|c|ps|sh|com|pl] *+Ex=
CuG #%*                                                                  *+Ex=
CuG #%*     2. Compile and run with your favorite compiler and operating *+Ex=
CuG #%*        system.                                                   *+Ex=
CuG #%*                                                                  *+Ex=
CuG #%*   Notes:                                                         *+Ex=
CuG #%*     1. We have attempted to use only standard language features. *+Ex=
CuG #%*                                                                  *+Ex=
CuG #%*     2. Without the -traditional flag gcc will issue a warning.   *+Ex=
CuG #%*                                                                  *+Ex=
CuG #%*     3. When transferring from Unix to DOS make sure that a LF    *+Ex=
CuG #%*        is correctly translated into a CR/LF.                     *+Ex=
CuG #%*                                                                  *+Ex=
CuG #%*     4. Keep the blank lines at the start of the program. They    *+Ex=
CuG #%*        are important.                                            *+Ex=
CuG #%*                                                                  *+Ex=
CuG #%*     5. This text is a comment block in all eight languages.      *+Ex=
CuG #%*                                                                  *+Ex=
CuG #%*   Please mail any comments, corrections or additions to          *+Ex=
CuG #%*   polyglot@ideology.com.au                                       *+Ex=
CuG #%*                                                                  *+Ex=
CuG #%*------------------------------------------------------------------*QuZ=
CuG #%*                                                                  *+Ex=
CuG #%*!Mx)ExQX5ZZ5SSP5n*5X!)Ex+ExPQXH,B+ExP[-9A-9B(g?(gA'UTTER_XYZZXX!X *+
CuG #(*                                                                  *(
C   # */);                                                              /*(
C   # *)  program        polyglot (output);                             (*+
C   #     identification division.
C   #     program-id.    polyglot.
C   #
C   #     data           division.
C   #     procedure      division.
C   #
C   # * ))cleartomark   /Bookman-Demi findfont 36 scalefont setfont     (
C   # *                                                                 (
C   #
C   # *                  hello polyglots$
C   #     main.
C   #         perform
C  /# * ) 2>_$$; echo   "hello polyglots"; rm _$$; exit;
C   # * (
C   #
C     *0 ) unless print "hello polyglots\n"; __END__
             print
C             stop run.
    -*,                'hello polyglots'
C
C         print.
C             display   "hello polyglots".                              (
C     */  int i;                                                        /*
C     */  main () {                                                     /*
C     */      i=printf ("hello polyglots\n"); O= &i; return *O;         /*
C     *)                                                                (*
C     *)  begin                                                         (*
C     *)      writeln  ('hello polyglots');                             (*
C     *)                                                                (* )
C     * ) pop 60 360                                                    (
C     * ) pop moveto    (hello polyglots) show                          (
C     * ) pop showpage                                                  ((
C     *)
          end                                                          .(* )
C)pop%     program       polyglot.                                      *){*/}

See Polyglot.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...