Tagged Questions
16
votes
4answers
3k views
Why do iterators in Python raise an exception?
Here's the syntax for iterators in Java (somewhat similar syntax in C#):
Iterator it = sequence.iterator();
while (it.hasNext()) {
System.out.println(it.next());
}
Which makes sense. Here's ...
9
votes
5answers
6k views
Why is Python slower than Java but faster than PHP [closed]
I have many times seen various benchmarks that show how a bunch of languages perform on a given task.
Always these benchmarks reveal that Python is slower then Java and faster than PHP. And I wonder ...
7
votes
5answers
658 views
Language Design: Are languages like Python and CoffeeScript really more comprehensible?
The "Verbally Readable !== Quicker Comprehension" argument on http://ryanflorence.com/2011/case-against-coffeescript/ is really potent and interesting. I and I'm sure others would be very interested ...
5
votes
2answers
347 views
Alternative Scripting Language to Lua?
I would like to add scripting support to an applications and with plenty scripting languages available I am a bit overwhelmed.
At first I thought about Python but I guess Python is a little too big ...
4
votes
1answer
270 views
Is it possible to write a code without class methods, globals, and class variables? [closed]
I'm designing my own programming language for fun, and I'm thinking of making it fully Object-oriented (no statics, no globals, no class variables, no class methods), so I need to find a way to ...
2
votes
4answers
353 views
how can python interpreter recognize code block
The most unusual aspect of Python is that whitespace is significant
instead of block delimiters (braces → "{}" in the C family of languages), indentation is used to indicate where blocks begin and ...
-2
votes
2answers
283 views
Help me select a “Simpler” target to create a new language: .NET, LLVM, Go, Own VM [closed]
Lets define "Simple".
This is my first language. I have no previous experience
I will not dedicate +4 years to learn it properly. I'm a professional software [developer], but as an amateur in this ...