what the first language to learn for you?
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.
?
@f_society33 it seems your first language was French. Your second should be English. The rest is trivial.
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 ;)
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
Used to be lexostras…. but i got tierd of my name so now it’s worst…..
My github dont click this
[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.
C is a bit difficult but looks like a excellent language and know C is very good to understand programming.
?
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.
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 == ?
:)
[quote=author]
But more close to REALity is something like 0.30000000000000004
[/quote]
… interesting… could you explain? Reality seems really weird sometimes :p
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.
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
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.
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 !