The engine is where like 95% of the complexity lies though. Maybe more.
decivex
In this case having more browser engines not under Google's control is probably a good thing. Although this effort might've been better spent working on Servo.
You don't really get the personal touch there though.
I think it's most likely pressure from payment processors.
In what way is it less effort than vim? I've tried helix a little bit and it didn't seem that different.
I know I'm being somewhat pedantic but range() returns an iterable range
type, not a list, in python 3.
Make your own rules.
list.append
returnsNone
so what you've actually got is a list comprehension that generates a list containing the valueNone
19 times. (using functions with side effects, such aslist.append
, in list comprehensions are generally bad style so you should avoid this)- The
list[...]
syntax retrieves elements from the list, which is not what you're trying to do here. (and it is actually invalid syntax in this case) - You should generally avoid calling lists
list
, because list is already a builtin.
If you want to append the numbers 1 to 19 to a list as you're trying to do you can call the list.extend
function with the list comprehension [value for value in range(1, 20)]
as the argument. (Although in this case you can also just use the range directly.) To do it without list comprehensions you can simply loop over the range and repeatedly call the append function.
Thanks! I just won the game!
It's not a paper, it's a stream-of-consciousness style blog post.
It doesn't help that there's basically no documentation for how to use the Gecko engine either.