W
Wolfgang Rohdewald
Long answer:
'Ye%s' %'s'*1000
simplified long answer:
'Yes' * 1000
or did you mean
'Ye%s' %('s'*1000)
Long answer:
'Ye%s' %'s'*1000
Tomasz Rola a écrit :
(snip)
Arf - only took me 6 months !-)
♦ Sure that works too but sounds like your stu..stu..studdering.simplified long answer:
'Yes' * 1000
♦ Oops, must test snippets before submittingor did you mean
'Ye%s' %('s'*1000)
Hi
I hope I won't sound trivial with asking my question.
I am a C++ programmer and I am thinking of learning something else
because I know second language might be very helpful somehow. I have
heard a few positive things about Python but I have never writen any
single line in python so I do not know this language at all.
Do you think python would be good complementary language for C++? Do you
think it's worth learning it or let's say try Java? and how difficult it
would be for me if I know C++ pretty well I would say?
Thanks
Honestly, I've become more of a Python fan than I am really
comfortable with... it can't be as good as I think.
-craig
Grant Edwards a écrit :
+2 QOTW !-)
Tomasz Rola a écrit :
Arf - only took me 6 months !-)
--===============0027953262==
That long? It only took me six minutes.
Guess what, there was a time when Java was looking quite promising.
Especially in the field of distributed computing (which then meant not
only high performance clusters). And computers were of more than one type,
used other cpus than Intel, too.
Maybe it's easier to ridicule Java now, when it has not met the
expectations. But still, some people (better than I) have spent few
years writing software and doing their research in Java. Sure, that was
before Java had been nominated the common denominator of programming
languages.
--===============0836317661==
So? By the time Java was released, Python had already been around for
several years.
Taking C++ and turning it into a VM model does not
exactly strike me as particularly good use of resources.
It doesn't strike me either. But resources are not the only dimension of
judging the language, you know.
But, as I said, Java had some weight in the past (and some promises have
been made about its future and not kept). I felt that dismissing it "after
six minutes" might have been a little bit unfair. You should have done it
after a week.
.
Ditto! Although I suppose you could just go for the jugular and say
that C++ is the BASIC of the 1990s.
You misunderstand me: I was talking about the resources (people and
money) used to create Java.
Java is yet another language with heavy static typing and an
object-oriented focus. What should have caused me to waste more time
before dismissing it?
I've only read he subject and a few lines from other responses.
yes, it is worth learning. I came from PHP to Python. It's very powerful and
makes application development easier for me than in PHP and/or C#, but bash,
well that depends on the type of bash. It has a lot of diffent ways you can
use it too, so that adds to how powerful it is.
-Alex Goretoy
http://www.goretoy.com
I really can't say too much about speed increase or decrease, it really
depends on the site and how its built, what libs are used and how they are
loaded, same thing in PHP, It would be difficult for me to same anything on
speed because of that. I built a templated modulated cms in CodeIgniter(PHP
MVC), google it, It is a base for a templated system. using smarty and ci
templating syntax, although the smarty side of things makes it slower I
think. Also it is modulated, which breaks up your code into modules that you
can load on the page into a div with ajax, preferrably jquery but you can
use any framework for that too
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.