>>84
And haskell fanboys are outright scary, they prophetize about the superior truth but you've never seen any proof of haskell actually doing anything useful.
It's like religious people.
and >>86
uuh, what's your point really? how do you copy arrays in haskell that's oh so bloody much more efficient/easier?
Name:
Anonymous2007-04-28 18:56 ID:mR97LAJC
I see merits in both methods, I however use none of them. FOR I AM AN EXPERT PROGRAMMER.
Name:
Anonymous2007-04-28 18:56 ID:7bVPpdan
>>87
You can surely come up with a deep copy function if Ruby doesn't come with one, right?
Something like:
>>> from copy import *
>>> a = [[1,2],[3,4]]
>>> b = deepcopy(a)
>>> a
[[1, 2], [3, 4]]
>>> b
[[1, 2], [3, 4]]
Name:
Anonymous2007-04-28 19:09 ID:61CFzjNt
>>89
Eh? what are you onto? that's it's possible to copy an array by calling a function which copies arrays? Well no shit sherlock, i could never belive such a thing was possible! You've revolutionized programming!
Name:
Anonymous2007-04-28 19:18 ID:7bVPpdan
>>90
Lol. It was more of a suggestion to do it right now and post it so >>86 would STFU.
Name:
Anonymous2007-04-28 19:30 ID:61CFzjNt
>>91
well, >>85 already showed how to copy any kind of object in ruby. so it feels rather redunant to provide more ways.
>>94
Now now, just because your language is worthless for any practical applications doesn't mean you have to be angry when it turns out other languages can do your languages fancy moves just as gracefull, you just have to accept that you're coding aids incarnate and go cry in a corner instead.
Name:
Anonymous2007-04-29 6:40 ID:T93Sfnyq
OP here:
Ok ive decided to go with C++ (generaly because i have my majority of experience with it which places it above every other language at this point)
Anyway, ive installed Code::Blocks (the stable release rather than a nightly) and im wondering about setting up QT, its downloading right now (qt-in-opensource-src-4.2.3.zip) and i was wondering do i need to compile it myself?
Or is it just a fuckton of libraries llike the various OpenGL packages around?
Or does it install itself to some location and i need to set up my compiler to link to it?
Ive read through some of the faq's and documentation but it really doesnt make anything aparent, the only thing that leads me to think i need to compile it is the fact it has src in the filename.
Guidance would be appreciated.
Name:
Anonymous2007-04-29 7:38 ID:hHz3hmyb
What's the best language for a complete beginner to pick up and learn?
JESUS FUCKING CHRIST I HATE FUCKING NUBS THAT 'GO WITH C++ AND DOWNLOAD QT' SO THEY CAN START MAKING GUI PROGRAMS, AND WELL WHO KNOWS MAYBE THE NEXT WoW.
.
.
.
JESUS FUCKING CHRIST
Name:
Anonymous2007-04-29 7:38 ID:T93Sfnyq
ok apparently ive got to build it myself, not really a problem i figured, i followed the documentation and used "configure -platform win32-g++"
This seemed to do the trick right up till it spewed forth
Creating qmake...
execute: File or path not is not found (mingw32-make)
execute: File or path not is not found (mingw32-make)
Cleaning qmake failed, return code -1
I figured i should manualy install GCC so i did that, edited my environment variables to reflect this and BAM still the same shit.
I need to go to work but i'll have a play later, if anyone has any insights then id be glad to hear them.
Name:
Anonymous2007-04-29 8:09 ID:qnqwT4GN
>>99
Enjoy your aids and coding at 9000 levels above your actual level of expertise.
>>99 C++ hits! C++ bites! C++ drains your will to live--more--
C++ tears at you! You try to do something nontrivial in C++ and fail--more--
C++ hits! C++ drains your will-power! C++ hits! You die...--more--
Would you like your posessions identified? [ynq]
Name:
Anonymous2007-04-29 8:43 ID:T93Sfnyq
>>98 >>100
Why assume that its OVER NINE THOUSAND levels above my expertise?
And even if this turns out to be the case i can easily get hold of readily available documentation and actualy figure out what im doing wrong and what to do to correct it.
I can read and follow whats going on in source code (of which theres a fuckton available) and at the end of the day i'll wind up with a very good understanding of a language thats actualy of some use in the real world.
I made no assumptions anywhere that learning c++ was going to be a straightforward and easy task, but nothing worthwhile ever really is.
I could do a lot worse, i could be learning pascal or basic or any other multitude of languages that serve no proven real world application.
Im also under no allusions that i will be programming any MMORPG software, i'll leave that up to the Koreans. My interests don't lay with developing games, i rarely even play the things.
If you had read the post you would see exactly what im trying to achieve, nothing hueg just small projects geared towards learning the learning curve shouldnt be all that steep and im pretty sure i'll wind up advancing to a timescale that suits me.
I dont need to know a language inside and out yesterday, im happy taking my time on smaller details knowing that i will benifit my education in the longer term.
Name:
Anonymous2007-04-29 8:49 ID:VQ1c7vP/
>>102
If you can't figure out how to compile QT then C++ is definitely 9000000000000000000 levels above you. May I suggest VB.NET? It has a nice clickity-click interface you'd just loooove.
Name:
Anonymous2007-04-29 9:53 ID:yUhuLQPU
To put this in a non-condescending tone, this really is way above your current skill level. There is a crapload of stuff in C++ to sink your teeth into before you even get anywhere near setting up GUI libs, let alone using them. I've been programming for years, and even I don't like the C++/QT combination.
New to programming? Python, or any of the other suggestions in this thread.
Starting with C++ and GUI programming is nuts. It's too abstract and it's too easy to shoot yourself in the foot. Learning how to program in any language is not a straightforward or easy task. Why make it even harder?
Reconsider Python or Ruby. They are, in contrast to what you suggest, 'real world' languages. Lots of companies are starting to take them seriously, as they should. Nasa, Intel, Google, Microsoft and HP to name a few big companies. _why has written an excellent tutorial for you: http://poignantguide.net/ruby/
I'm not saying you should not learn C++. Just don't start with it. Come to it when you really, really need that extra speed (even then, you could write only those few parts in C and the rest in Python or Ruby). For most programming tasks there are better tools available.
Name:
Anonymous2007-04-29 18:28 ID:6WhDT4ww
PYTHON キタ━━━━━━(゚∀゚)━━━━━━ !!!!
Name:
Anonymous2007-04-29 21:54 ID:Z6FxxcYm
One word, The forced indentation of code. Thread over.
Name:
Anonymous2007-04-30 3:04 ID:scgqEpdV
I don't understand why some people are so adamantly against typed variables.
Why do some people not like static typing? Because it's more boilerplate, code, and effort. Unfortunately, some people also fail to notice that dynamic typing causes some errors to take a long time to be caught. That's bad for development time too. What takes longer: catching a type error with a test case or during compilation?
The correct answer is optional and inferred typing. Unfortunately, not a lot of languages have optional typing at the moment, but the least the Ruby and Python fanboys could have done is ripped off Perl's lexical typing and strict mode; it's better than nothing, without losing anything.
Show me an implementation of a heterogeneous list in a statically-typed language that's as short as almost any dynamically-typed language. x = [1, "z", [3.141]] is pretty hard to beat.
Or what about message and dynamic dispatch or polymorphism? Sure takes less code than interfaces or class hierarchies, wouldn't you say?
>>113
lol heterogenous lists, i have never wanted them. it's a completely retarded feature to make up for your lack of type classes and algebraic data types.
go back to your basement and cry me an enterprise web 7.0 ruby-on-fails blog, you incompetent developer.
>>114
Go back to /newpol/ where people are stupid enough to fall for your trolling, kthnx.
>>115
That's not a heterogeneous list, mate. That's an array of a single type.
>>116
It's just an example demonstrating that the list can contain elements of different types with little boilerplate. Have you never use polymorphism or (in C) structs with an element for id?
Name:
Anonymous2007-04-30 6:34 ID:whdQMUlC
Why are you bragging about having to use something retarded like heterogenous lists because your language lacks an easy way of making a data structure?
how would anonymous make something like data Term = Add Term Term
| Mul Term Term
| Number Intin a dynamically typed language?
Name:
Anonymous2007-04-30 7:14 ID:f+6Y4mUW
Personally, I prefer to have all my types defined before I compile. It's more logical and neat that way. I can't stand the sloppiness and carefree lazy attitude of dynamic typing. But then, I do program 99.99% uptime systems that have to be rock solid.