Jump to content


Check out our Community Blogs

Register and join over 40,000 other developers!


Recent Status Updates

View All Updates

Photo
- - - - -

Hello World!

hello world

  • Please log in to reply
7 replies to this topic

#1 serpent

serpent

    CC Regular

  • Member
  • PipPipPip
  • 30 posts
  • Programming Language:C++, PHP

Posted 01 May 2012 - 06:12 AM

Greetings!
A quick hello to introduce myself.
I'm interested in programming in general. I try not to limit myself to one language.
My first language was pascal, but I switched quickly to C++.
I also learn PHP and a bit of other languages like perl, ruby.
Generally I like OO programming; also read about functional programming (but it's much harder to learn).
Favourite languages:
  • C++ for being so powerful
  • perl because it lets me write tools quicly and easily
  • ruby, because it gathers all the cool stuff from smalltalk and perl
  • PHP for being so easy to learn
Languages I don't like:
  • python, because it tries to tell me how should I format my sources
  • java, because it misses some very important features (IMO) like first class functions and function overloading; and because it places every object on heap and makes every method virtual (I don't know java so I'm not 100% sure this is true, but I heard it is)
  • pascal, because I don't like it's syntax, and I don't unerstand why using two names (procedure, function) for one thing
Languages I would like to learn:
  • scheme, because I heard it's great language
  • OCaml, because I would like to learn functional language and erlang is too complex
  • prolog - I just want to try

  • 0

#2 Roger

Roger

    Skadoosh!

  • Administrator
  • 1222 posts
  • Programming Language:C, PHP
  • Learning:Others

Posted 01 May 2012 - 09:01 AM

Welcome to cc, serpent!
  • 0

New around here? Click here to register and start participating in under a minute?

Or do a quick search and you may find the answer you're looking for.


#3 Luthfi

Luthfi

    CC Leader

  • Expert Member
  • PipPipPipPipPipPipPip
  • 1320 posts
  • Programming Language:PHP, Delphi/Object Pascal, Pascal, Transact-SQL
  • Learning:C, Java, PHP

Posted 01 May 2012 - 09:50 PM

Hi Serpent, welcome aboard!

> pascal, because I don't like it's syntax, and I don't unerstand why using two names (procedure, function) for one thing

Because there is significant difference between the two?
  • 0

#4 WingedPanther73

WingedPanther73

    A spammer's worst nightmare

  • Moderator
  • 17757 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others

Posted 02 May 2012 - 01:24 PM

Welcome aboard!

I love your points about Java.
  • 0

Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

My MineCraft server site: http://banishedwings.enjin.com/


#5 serpent

serpent

    CC Regular

  • Member
  • PipPipPip
  • 30 posts
  • Programming Language:C++, PHP

Posted 03 May 2012 - 05:16 AM

> pascal, because I don't like it's syntax, and I don't unerstand why using two names (procedure, function) for one thing
Because there is significant difference between the two?


I don't see any significant difference between function and procedure.
Function returns value and procedure does not, but both are just blocks of code.
For me C approach is much more natural.

int f(int x); //function
void g(int x); //procedure

Besides pascal is probably the only language where function is considered something different than procedure.
  • 0

#6 WingedPanther73

WingedPanther73

    A spammer's worst nightmare

  • Moderator
  • 17757 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others

Posted 03 May 2012 - 07:55 AM

I don't see any significant difference between function and procedure.
Function returns value and procedure does not, but both are just blocks of code.
For me C approach is much more natural.

int f(int x); //function
void g(int x); //procedure

Besides pascal is probably the only language where function is considered something different than procedure.

Actually, Pascal is not unique in this. The common use of functions/procedures in C is the basis for that behavior in a lot of languages, because many of them were developed later and make use of low-level functions written in C.
  • 0

Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

My MineCraft server site: http://banishedwings.enjin.com/


#7 papabear

papabear

    CC Devotee

  • Senior Member
  • PipPipPipPipPipPip
  • 472 posts
  • Location:DarkSide

Posted 05 May 2012 - 10:35 PM

hello serpent welcome to codecall community :) enjoy your stay here.
  • 0
Life has no CTRL+Z
Never Forget To HIT "LIKE" If I Helped

#8 fread

fread

    Programming God

  • Senior Member
  • PipPipPipPipPipPip
  • 897 posts
  • Location:Trinidad and Tobago
  • Learning:C, Java, C++, C#, PHP, Python, PL/SQL

Posted 08 May 2012 - 05:02 AM

Welcome to Codecall, Serpent!
  • 0





Also tagged with one or more of these keywords: hello world

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download