News for hackers. Stuff that matters.
Re:Which programming language should I learn first? by xd on Sunday April 29, 2012 @07:23AM (#3905725)
"To feel depressed: SQL"

SQL isn't a programming language you would learn to program general purpose programs with. It's a language to manage relational data in a database.

It's not a depressing language. Depressing, is watching a programmer fight with procedural ORM when doing anything remotely complicated with data in a relational database.

Re:Which programming language should I learn first? by bunderbunder on Monday April 30, 2012 @05:11PM (#3911526)
Well, there's one bit about SQL which is depressing, and that's the way that the language has been undone by its own fragmentation.

Each dialect of SQL is different enough from all the others that the lowest common denominator - the version that you can really call 'SQL' and not 'PL/SQL', 'T-SQL' or whatever - is really, really low. So most the tutorials on 'SQL' out there present the language as a dumb insertion and retrieval mechanism rather than the powerful declarative programming language for query and analytics that it really is. Meaning most programmers out there really don't know what they're losing when they choose to go with the naive approach to relational databases that ORMs encourage.

I got led down that path first. And I spent a lot of time struggling with the ORM. And then somebody or something finally convinced me to take the time to learn SQL. Not that least-common-denominator crap - real SQL, the native dialect of my DBMS and all of its ins and outs.

And soon after, once I had properly encapsulated the database with well-written stored procedures and all that, I dumped the ORM, because it had become the stone in the soup. And everything got so much better, so much more performant, so much easier to maintain, so quickly. And I remembered all the struggling from before, and saw that none of it had to happen. And I mourned for all the wasted time and gray hairs.

I learned SQL, and it made me feel depressed.

Re:Which programming language should I learn first? by calibwam on Sunday April 29, 2012 @05:01AM (#3905548)
> To be a god which can do everything--Assembly A god that uses more time than necessary doing some tasks, but when they run, it's so fast.
Re:Which programming language should I learn first? by IsTom on Sunday April 29, 2012 @05:42AM (#3905602)
As for current architectures, humans are really bad at writing assembly. Advanced compilers like gcc are much better at it.
Re:Which programming language should I learn first? by tzs on Sunday April 29, 2012 @03:38PM (#3906817)
Re:Which programming language should I learn first? by mackyinc on Sunday April 29, 2012 @07:04AM (#3905690)
I started at PHP and still learning.
Re:Which programming language should I learn first? by lectrick on Monday April 30, 2012 @12:31AM (#3908038)
> To mingle with programmers who call themselves “rockstars”: Ruby.

Oh fuck off. I'm really getting tired of the Ruby backlash. It is a FINE language, better than most.

Re:Which programming language should I learn first? by stephengillie on Sunday April 29, 2012 @04:11AM (#3905474)
Cute.
Re:Which programming language should I learn first? by jhuni on Sunday April 29, 2012 @04:49AM (#3905529)
I don't think the Cute programming language is ready to be used as a first time target for developers yet. Try scheme.
Re:Which programming language should I learn first? by sonic0002 on Sunday April 29, 2012 @04:52AM (#3905532)
What is Cute programming language?
Re:Which programming language should I learn first? by radicalbyte on Sunday April 29, 2012 @04:56AM (#3905539)
It's a Cool variant designed specifically to encourage female students into Software Engineering and/or Computer Science.
Re:Which programming language should I learn first? by stephengillie on Sunday April 29, 2012 @06:09AM (#3905624)
Serious?