>>1
Java. Once you learn the basics of Java, everything leads to suicide.
Name:
Anonymous2006-07-16 2:15
>>11 # tinyp2p.py 1.0 (documentation at http://freedom-to-tinker.com/tinyp2p.html)
import sys, os, SimpleXMLRPCServer, xmlrpclib, re, hmac # (C) 2004, E.W. Felten
ar,pw,res = (sys.argv,lambda u:hmac.new(sys.argv[1],u).hexdigest(),re.search)
pxy,xs = (xmlrpclib.ServerProxy,SimpleXMLRPCServer.SimpleXMLRPCServer)
def ls(p=""):return filter(lambda n:(p=="")or res(p,n),os.listdir(os.getcwd()))
if ar[2]!="client": # license: http://creativecommons.org/licenses/by-nc-sa/2.0
myU,prs,srv = ("http://"+ar[3]+":"+ar[4];, ar[5:],lambda x:x.serve_forever())
def pr(x=[]): return ([(y in prs) or prs.append(y) for y in x] or 1) and prs
def c(n): return ((lambda f: (f.read(), f.close()))(file(n)))[0]
f=lambda p,n,a:(p==pw(myU))and(((n==0)and pr(a))or((n==1)and [ls(a)])or c(a))
def aug(u): return ((u==myU) and pr()) or pr(pxy(u).f(pw(u),0,pr([myU])))
pr() and [aug(s) for s in aug(pr()[0])]
(lambda sv:sv.register_function(f,"f") or srv(sv))(xs((ar[3],int(ar[4]))))
for url in pxy(ar[3]).f(pw(ar[3]),0,[]):
for fn in filter(lambda n:not n in ls(), (pxy(url).f(pw(url),1,ar[4]))[0]):
(lambda fi:fi.write(pxy(url).f(pw(url),2,fn)) or fi.close())(file(fn,"wc"))
Name:
Anonymous2006-07-16 12:34
Python.
Name:
Anonymous2006-07-16 15:39
Unless you think these guys know more about teaching programming than MIT and Caltech, learn Scheme.
Hex, because when you know how a computer works from the inside out, you TOTALLY can program in more complex OO languages. Right?
Name:
Anonymous2006-07-16 23:37
MODS /B/ IS NOT WORKING PLZ FIX CUZ I LIEK /B/. KTHNKSBAI.
Name:
Anonymous2006-07-19 2:52
as an MIT alum, i can tell you that scheme is worthless
invest your time learning C/C++ or Python
Name:
Anonymous2006-07-19 3:05
javascript.
Name:
Anonymous2006-07-19 3:37
>>23
I'll second the Javascript recommendation. It’s a wonderful modern and easy language for beginners to learn the fundamentals about programming on.
Name:
Anonymous2006-07-19 4:14
my first was javascript. worked for me. =)
Name:
Anonymous2006-07-19 7:06
>>22 is proof that you don't have to be smart to go to MIT.
I'd say Java is a good programming language for beginners. I wouldn't use it for any serious projects, mind you, but it's definitely a good introductory language to object-oriented programming.
I'd say Java is a good programming language for beginners.
You're trying to make us laugh to death, aren't you?
Name:
Anonymous2006-07-21 10:09
>>36
No, I'm not. I do think Java is a good language for beginners.
I started learning a variation of BASIC on dBase 3.0 with the clipper compiler. Old school style. I learned a variety of languages since then, including Perl, Java, C++, among many others, and Java is still the easiest to learn with. I definitely recommend it to anyone who wants to learn programming.
Java may not be leet enough for the /prog/tards, but it's not a bad language at all.
Name:
Anonymous2006-07-21 12:38
bad languages (ones that make it really easy to fuck yourself in the ass) are good for beginners. they make you remember your mistakes so you don't make them again.
I noticed that beginners don't seem to be able to understand the errors java throws.
>>39
You have to be able to understand your mistakes in order to remember them. Think about what concepts you would have to understand before realizing why accessing an index past the end of an array could cause a crash.
Name:
Anonymous2006-07-21 19:29
>>39
By that logic we should all be learning Brainfuck. Languages that make it easy to fuck yourself only make programming frustrating and discouraging. They do not help you learn.
>>40
At least they don't have to deal with C++ style throws where you can just throw anything. throw("Hello!"); Uncaught throws in Java print a stack trace to the console; uncaught throws in C++ cause unusual termination. What's more is javac forces you to catch most throws, so you can't just compile away and then wonder why your program is dying unexpectedly.
>>41
You've never worked on one of those "enterprise" Java applications I take it. The ones with duplicated stack traces hundreds of lines long, with the actual cause of the error in the middle of the trace, or even better, not at all. Or you could be making a living wasting peoples time with Java. Go peddle your theory elsewhere.
What's more is javac forces you to catch most throws, so you can't just compile away and then wonder why your program is dying unexpectedly.
meet throws Exception
on every single method.
As a continuation: the reasoning for having Python on the list is the fact that it is a fairly typical example of an application of different programming methodologies while managing to remain quite clean and easy to learn. Also, it's really useful in the real world. Half a year ago my number three of choice would have been Ruby, but for several reasons I've almost completely switched to Python.
Mostly non - core-language -related or seemingly trivial reasons (in no particular order):
- The current state of Unicode support in Ruby is abysmal. I know a fix is on the pipeline, but Python has had it done right for many years
- Although I think TIMTOWTDI is not a completely stupid idea, I find Ruby a bit too non-orthogonal for my tastes at times
- Python is ubiquitous and has a huge number of _mature_ 3rd party libraries for almost anything
- Even after using it almost daily for three years, I find even well-written Ruby code visually ugly; Python is undistracting and easy to read
There are some other reasons, but this is not a Ruby vs. Python thread.
Seeing I've included _Scheme_ as #1 on my "languages to learn" list, I think you understand what I mean by "quite clean and easy to learn" in this context.
Name:
Silvernode2006-07-22 19:16
Qbasic is what i learned with first.
Name:
Anonymous2006-07-26 8:39
>>45
Fuck you're stupid. I started this discussion by saying you shouldn't use Java for serious applications for exactly the reasons you're stating. Eat shit and die.
And all methods have "throws Error", not "throws Exception". Throws you're most likely to encounter in learning programming, such as IOExceptions for getting a filename wrong, javac will force you to catch. This is why Java is good for LEARNING, which is the whole point of this thread.
Name:
Anonymous2006-07-26 10:12
>>54
Tard, >>45 was saying that the easiest way to avoid Java's forcing you to catch exceptions is to put 'throws Exception' after every method, so every exception gets passed upwards until it reaches the top level and kills your program.
>>57
Opera sucks sure there's an ebuild for opera but it just get dropped to /opt, it's statically linked, and it's CLOSED SOURCE, which means that it is a BINARY package.
Java is a good language for some tasks but imho not very good for complete beginners. I suggest something like BASIC or Pascal to get a grip of basic programming concepts. From then on you should try different languages to get to know the differences among them. Like C, OCAML and Java. Then you'll have a fairly good idea and you'll be able to learn most other languages rather quickly.
Name:
Anonymous2006-08-02 10:11
errrr btw c++ can easily be funked with till u get a fully adaptable and BREATH OF FIRE kinda language, so its not just for nubs, K!!!
pascal?? why learn a 'dead' language over something people actually use today?
Name:
Anonymous2006-08-03 10:04
>>67
Why learn how to program. See you're all talking LANGUAGE, I'm talking PROGRAMMING. A good programmer might be an expert at 2 or 3 languages but able to handle almost everything out there.
God I hate /prog/
Name:
Anonymous2006-08-03 10:28
Don't learn some lameass new language. Learn an old one where you can shoot yourself in the foot nice and good. Learn C (Obj if you want) and Scheme then learn some cutesy new language. Then you can live it up with your old school skills, understand any new language pretty quickly, and have a good idea of how to solve all problems.
>>54
Java might have a tiny bit of an advantage there (even though it's not a valid advantage, and you can still throws Exception), but it's a terrible language to learn as first, like any strong OO languages and OO in geneneral.
>>67,70
Because you're learning the principles of programming and don't need to be distracted with complex shit, shitty syntax, optimization, practicality, etc.
Name:
Anonymous2009-01-14 5:21
JavaScript
Name:
Anonymous2009-03-06 12:09
The user experience making HUGE Maps that you couldnt even COMPREHEND THEN I slowly rise to a standing position and open my eyes It helps me to proceed through my day as a smelly foot on their r sum by.