what the first language to learn for you?

eliote [f_society33]
7 years ago

0

I like to know what to learn first language and as if you could show me how to learn because I begins

I am french

27replies
17voices
295views
1image
? [bolofecal]
7 years ago

0

I suggest you register in codecademy, html, cs and javascript is the basics for web but the language you must start depends for your purposes.

eliote [f_society33]
7 years ago

0

I understand it’s not long since I started to inform myself about computers and I am passionate about days in hacking for days and I’d like to teach me but I do not know where to start :p

tehron
7 years ago

5

@f_society33 it seems your first language was French. Your second should be English. The rest is trivial.

dimooz
7 years ago

0

The C language should be the reference IMO. I suggest you to read the marvelous book “The C Programming Language” by Kerningan & Ritchie. The C language is not the simplest, but at last if you can learn this one then you should be able to learn any other. You just have to be patient and persevere ;)

b1nary
7 years ago

0

@dimooz im not totally agree on that , i think he should get the basic logic with some simple stuff such as python or javascript , then jump into C

p4p1 [lexostras]
7 years ago

0

for first language i recomend to you the language that will work for what you want to make, and if you have no clue what to do just try out a few thats what i did

eliote [f_society33]
7 years ago

0

thank you everyone this is cool :p

Reply has been removed
guigu34
7 years ago

0

I agree with @dimooz but if you want to learn on your own it can be a bit difficult. So if your learning alone better start with some python maybe. But anyway you should learn web langages (html, css, javascript). I’m french aswell if you want to ask me something :)

dimooz
7 years ago | edited 7 years ago

0

[quote=guigu34]I agree with dimooz but if you want to learn on your own it can be a bit difficult. [/quote]

Thank you, however b1nary is right too, the C language is a bit difficult if you plan to learn on your own. As I said, you’ll have to be patient and persevere, but you’ll gain a lot begining with the C.

? [bolofecal]
7 years ago

0

C is a bit difficult but looks like a excellent language and know C is very good to understand programming.

newron
7 years ago | edited 7 years ago

1

yes i study C in my school it’s excellent

i’m french

Int7
7 years ago

2

As a first language (after English) I’d propose Python. It is known to be easy to learn and will be useful for many purposes.
Here is a nice list of websites about it: http://www.pythonforbeginners.com/basics/python-websites-tutorials

For me I started long time ago with Atari Basic, later some Turbo Pascal, Ansi C and x86 assebly. On Studies I added Java, C++, Lisp, and few more to that list. For food I code now in C# and Python for fun :)
But as forum mates said above, depending on purpose you’ll learn what you need on the way: if you meet a database you’ll learn some flavor of SQL, if you go into web you’ll be seeing languages of the web (HTML,CSS,JavaScript and it’s frameworks). In the end the language does not matter as long as it gives you fun, money, degree or other benefit by just making the job done.

newron
7 years ago

0

Your are best, you known Java,C++,Lisp,C# and Python, it’s great :D

Int7
7 years ago

0

Merci beaucoup newron :)
Definitely not the best.
I just work as a software developer since around 10 years plus 4 years of university and had to use those languages and many more I did not mention. For some I just know basics, like Lisp (had one projects in university), brainfuck (just to compete with friend on writing anything in that esoteric crap), or Java Script and it’s frameworks (jQuery, AngularJS, etc,… I was newer into web, mostly worked on desktop aps and databases). And even for those I use the most and am probably best at, I don’t know much I think.
Basics are usually enough and for syntax and common problems you’ll use google->stack overflow for most of the time :). Same with speaking. I can communicate in English and Polish, but could handle a small conversation in German,French,Russian,… in a shop with help of google translate, as have some basics in those too.

But as we are on a hacking forum I’d rather focus here on what a language can or can’t do, what are it’s limitations and bad coding habits that lead to writing a buggy code.

Consider this:

0.1 + 0.2 == ?

:)

newron
7 years ago

0

for the little i known i means: 0.1+0.2==0 B)
Your are work as software developer since around years :o :o !!??
Your are great man!! I will become like you :D
expect me

Int7
7 years ago | edited 7 years ago

0

[quote=newron]expect me[/quote] :) :) :) Ha ha ha. You made my day newron. And thank you for all the kind words.

and for [quote=newron]0.1+0.2==0[/quote] you are right if you round it down to an integer :) But more close to REALity is something like 0.30000000000000004

dimooz
7 years ago

0

[quote=author]
But more close to REALity is something like 0.30000000000000004
[/quote]

… interesting… could you explain? Reality seems really weird sometimes :p

Int7
7 years ago

0

It is because how computer store floating point numbers. Binary floating-point cannot accurately represent a number like 0.1, 0.2 or 0.3 at all.
When the code is compiled or interpreted, your 0.1 is already rounded to the nearest number in that format, which results in a small rounding error even before the calculation happens.

As you know computers ‘think’ in binary and we usually think in decimal system. But as an analogy here decimal numbers cannot accurately represent a number like 1/3, so you have to round to something like 0.33 and you dont expect 0.33 + 0.33 + 0.33 to add up to 1, either - do you?

Similar with those floats that stored in binary are not exactly what we expect them to be but a rounded version of that.
If you need low level hadcore definition on how it is done read https://en.wikipedia.org/wiki/Floating_point but what it really means is that your float is not stored as one number but two (one is called ‘significand’ and the other ‘exponent’) and they are used to calculate your float number on the fly.

dimooz
7 years ago

0

Thanks a lot for all of this, you should have wrote an aticle on the subject, that deserves it.

Int7
7 years ago

1

That’s great idea, as an article is already on my TODO list to have more medals here :) :)
I just need to buy one of those T-shirts and have a nice photo for the article:
Image

jeeex
7 years ago

1

JavaScript is a very good way to start

As Lector at a university for applied science my job is to teach young student the craft of programming.

JavaScript is easy to learn with a very steady learning curve
has many good online courses,
the market for proper JS programmers is huge
two very nice framworks (jQuery, AngularJS)
can be used for server and client side scripting
can be used in many platforms for app development and game development

Dark_Rain [Dark_rain]
7 years ago

1

I sugget “C” ,Because it’s easy & it help for next language learn easy.

K2017
7 years ago

0

Hello I just arrived …

Markb2
7 years ago

0

It depends. If you want to really code some stuff, go for C, C# or C++ I guess… Not really into programming. But if you just want to be able to script some nice hackerisch tools you might want to learn python :)

Reply has been removed
[deleted user]
7 years ago

0

I started with linux bash scripting what is relative easy to learn. Also a good language to start with is python. But i really depends on your purpose. If your interest are in web based applications than (html,css) PHP and javascript is what you should learn.

Elian
7 years ago

0

Difficult to answer. If it can help, a small guide…

How to Determine Which Programming Language You’re Using:

The proliferation of modern programming languages which seem to have
stolen countless features from each other sometimes makes it difficult
to remember which language you’re using. This guide is offered as a
public service to help programmers in such dilemmas.

      {C} You shoot yourself in the foot.  

      {Assembly} You crash the OS and overwrite the root  
      disk.  The system administrator arrives and shoots you in the  
      foot.  After a moment of contemplation, the administrator  
      shoots himself in the foot and then hops around the room  
      rabidly shooting at everyone in sight.  

      {C++} You accidentally create a dozen instances of  
      yourself and shoot them all in the foot.  Providing emergency  
      medical care is impossible since you can't tell which are  
      bitwise copies and which are just pointing at others and  
      saying, "that's me, over there."  

      {Ada} If you are dumb enough to actually use this  
      language, the United States Department of Defense will kidnap  
      you, stand you up in front of a firing squad, and tell the  
      soldiers, "Shoot at his feet."  

      {Modula/2} After realizing that you can't actually  
      accomplish anything in the language, you shoot yourself in  
      the head.  

      {sh, csh,etc.}  You can't remember the syntax for  
      anything, so you spend five hours reading man pages before  
      giving up.  You then shoot the computer and switch to C.  

      {Smalltalk} You spend so much time playing with the  
      graphics and windowing system that your boss shoots you in  
      the foot, takes away your workstation, and makes you develop  
      in COBOL on a character terminal.  

      {APL} You hear a gunshot, and there's a hole in your  
      foot, but you don't remember enough linear algebra to  
      understand what the hell happened.  

      {FORTRAN:}  You shoot yourself in each toe,  
      iteratively, until you run out of toes, then you read in the  
      next foot and repeat.  If you run out of bullets, you  
      continue anyway because you have no exception processing  
      ability.  

      {Algol:}  You shoot yourself in the foot with a musket.  
      The musket is aesthetically fascinating, and the wound  
      baffles the adolescent medic in the emergency room.  

      {COBOL:}  USEing a COLT45 HANDGUN, AIM gun at LEG.FOOT,  
      THEN place ARM.HAND.FINGER on HANDGUN.TRIGGER, and SQUEEZE.  
      THEN return HANDGUN to HOLSTER.  Check whether shoelace needs  
      to be retied.  

      {BASIC:}  Shoot self in foot with water pistol.  On big  
      systems, continue until entire lower body is waterlogged.  

      {PL/I:}  You consume all available system resources,  
      including all the offline bullets.  The DataProcessing &  
      Payroll Department doubles its size, triples its budget,  
      acquires four new mainframes, and drops the original one on  
      your foot.  

      {SNOBOL:}  You grab your foot with your hand, then  
      rewrite your hand to be a bullet.  The act of shooting the  
      original foot then changes your hand/bullet into yet another  
      foot (a left foot).  

      {lisp:}  You shoot yourself in the appendage which  
      holds the gun with which you shoot yourself in the appendage  
      which holds the gun with which you shoot yourself in the  
      appendage which holds the gun with which you shoot yourself  
      in the appendage which holds...  

      {scheme:}  You shoot yourself in the appendage which  
      holds the gun with which you shoot yourself in the appendage  
      which holds the gun with which you shoot yourself in the  
      appendage which holds the gun with which you shoot yourself  
      in the appendage which holds...  ...but none of the other  
      appendages are aware of this happening.  

      {English:}  You put your foot in your mouth, then bite it off.  

      Newsgroups: rec.humor.funny.reruns  
      From: bp@thedog.cis.ufl.edu (Brian Pane)  

I think we need to learn to program rather than focus on one or more languages. A programming language is a grammar and a syntax. If you learn the different types of programming you will be able to switch from one language to another. Each language has specificities, strengths and weaknesses.

Python is a good choice to start ;)

Have fun !

Smyler [WHGhost]
7 years ago

0

Very amusing quote XD . I started reading it seriously and had a funny reaction for those around me.

You must be logged in to reply to this discussion. Login
1 of 28

This site only uses cookies that are essential for the functionality of this website. Cookies are not used for tracking or marketing purposes.

By using our site, you acknowledge that you have read and understand our Privacy Policy, and Terms of Service.

Dismiss