design, like engineering is about tradeoffs, and flourishes in the presence of constraints. unlike engineering it is often about the cross-domain trade offs. it's a nice love note to design, written by someone who has…
as much as it says that in a fielding-style rest system the URLs and verbs are opaque, he spends a lot of time nitpicking over the format of urls. unless the resource in question is exposed as an endpoint, the url and…
I would have preferred to see an extended read-only period, rather than a month in which to panic-download your data (and the export functionality seems to be broken right now too https://convore.com/export ). I'd…
rest is how the web works. if you used a browser to write that comment, I would say rest is working pretty well.
A language used by beginners is not the same as one designed for beginners. I would wager that a language designed for beginners wouldn't have so much inconsistency, nor dump the user in a world of security issues with…
To echo your sentiment, It's a bit like measuring writers not by the books they have written, but how long they've sat in front of a keyboard. Anecdotally, Not only is time a a poor measure of ability, those who use it…
"the semantics of his library are reasonably clear on inspection" does .remove() mutate in place or not ? depends on the constructor! this would be an example of breaking composition - you can no longer use a function…
writing your own dialect of the language can be fun, but he is presenting his own style as 'pythonic' as opposed to the actual pythonic style built from functional composition - rather than method chaining. I am banging…
I'm not sure why you accuse me of having a fake account? Re-inventing a uniform syntax for python is the least pythonic thing you can do.
so you're admitting you're writing an incompatible dialect of python in python? that was my point. if you think it is worthwhile, well - enjoy :-) if you want to write in something with a uniform syntax, use scheme or…
tl;dr: you didn't read my post. I am pretty sure I made it clear how composition breaks. 'people are allowed to write Python however they want.' people are encouraged to write python other people understand.
you seem to go a long way to reinvent python builtins like reverse() any() all() enumerate(), itertools and functors. another python style you violate is that mutable methods return None in general. from the outset you…
if you are inventing a new way to do existing things outside the idioms of the language there is no conceivable way you can claim to be pythonic. you are replacing the pythonic style with your own taste. don't confuse…
#1 the correct way to do it is to have the methods perform the same action on mutable and immutable objects. this is the only way to guarantee composition. you do not change the semantics of shared methods. #2 for both…
You've invented your own incompatible dialect of python. You've broken composition, objects and the general design choices of python. 1. You break Composition Your magic flag within a list changes all the semantics of…
''Try/catch is goto wrapped in pretty braces.'' From this I can infer that lambda is also an anti pattern. But as good as this straw man post is, yes you can mis-use exceptions, No that doesn't make it an anti pattern.
notably, java 7 uses timsort for the default stable sort (on objects) and dual pivot quick sort as the default unstable sort. dual-pivot quicksort is worth a look too, if you enjoy timsort…
the approach is used in functional languages too (without galloping) for example 'run sort' in prolog http://www.scss.tcd.ie/publications/tech-reports/reports.05/...
also merge sort is stable :-)
As a guy on the internet I am pretty sure she didn't make it up. I think we will have to wait for confirmation, but not long.
This seems to be the original tweet http://twitter.com/#!/wendyg/status/128554733714669568
How about this then? http://en.wikipedia.org/wiki/Discrete_Hartley_transform
i'd like to see more support for memento http://www.mementoweb.org/ it adds date negotiation in the vein of content negotiation to http. it is like browser support for the wayback machine.
it turns out a tempting language can be useful for more than one thing, but for small sites, it works very well. you are reading between the lines to find an argument that isn't there.
I think this is a good idea. PHP solves a niche of small sites with slightly dynamic templates. (To some extent it owes more to rebol than to php - it has a large grammar and a notable amount of literals.) It makes…
design, like engineering is about tradeoffs, and flourishes in the presence of constraints. unlike engineering it is often about the cross-domain trade offs. it's a nice love note to design, written by someone who has…
as much as it says that in a fielding-style rest system the URLs and verbs are opaque, he spends a lot of time nitpicking over the format of urls. unless the resource in question is exposed as an endpoint, the url and…
I would have preferred to see an extended read-only period, rather than a month in which to panic-download your data (and the export functionality seems to be broken right now too https://convore.com/export ). I'd…
rest is how the web works. if you used a browser to write that comment, I would say rest is working pretty well.
A language used by beginners is not the same as one designed for beginners. I would wager that a language designed for beginners wouldn't have so much inconsistency, nor dump the user in a world of security issues with…
To echo your sentiment, It's a bit like measuring writers not by the books they have written, but how long they've sat in front of a keyboard. Anecdotally, Not only is time a a poor measure of ability, those who use it…
"the semantics of his library are reasonably clear on inspection" does .remove() mutate in place or not ? depends on the constructor! this would be an example of breaking composition - you can no longer use a function…
writing your own dialect of the language can be fun, but he is presenting his own style as 'pythonic' as opposed to the actual pythonic style built from functional composition - rather than method chaining. I am banging…
I'm not sure why you accuse me of having a fake account? Re-inventing a uniform syntax for python is the least pythonic thing you can do.
so you're admitting you're writing an incompatible dialect of python in python? that was my point. if you think it is worthwhile, well - enjoy :-) if you want to write in something with a uniform syntax, use scheme or…
tl;dr: you didn't read my post. I am pretty sure I made it clear how composition breaks. 'people are allowed to write Python however they want.' people are encouraged to write python other people understand.
you seem to go a long way to reinvent python builtins like reverse() any() all() enumerate(), itertools and functors. another python style you violate is that mutable methods return None in general. from the outset you…
if you are inventing a new way to do existing things outside the idioms of the language there is no conceivable way you can claim to be pythonic. you are replacing the pythonic style with your own taste. don't confuse…
#1 the correct way to do it is to have the methods perform the same action on mutable and immutable objects. this is the only way to guarantee composition. you do not change the semantics of shared methods. #2 for both…
You've invented your own incompatible dialect of python. You've broken composition, objects and the general design choices of python. 1. You break Composition Your magic flag within a list changes all the semantics of…
''Try/catch is goto wrapped in pretty braces.'' From this I can infer that lambda is also an anti pattern. But as good as this straw man post is, yes you can mis-use exceptions, No that doesn't make it an anti pattern.
notably, java 7 uses timsort for the default stable sort (on objects) and dual pivot quick sort as the default unstable sort. dual-pivot quicksort is worth a look too, if you enjoy timsort…
the approach is used in functional languages too (without galloping) for example 'run sort' in prolog http://www.scss.tcd.ie/publications/tech-reports/reports.05/...
also merge sort is stable :-)
As a guy on the internet I am pretty sure she didn't make it up. I think we will have to wait for confirmation, but not long.
This seems to be the original tweet http://twitter.com/#!/wendyg/status/128554733714669568
How about this then? http://en.wikipedia.org/wiki/Discrete_Hartley_transform
i'd like to see more support for memento http://www.mementoweb.org/ it adds date negotiation in the vein of content negotiation to http. it is like browser support for the wayback machine.
it turns out a tempting language can be useful for more than one thing, but for small sites, it works very well. you are reading between the lines to find an argument that isn't there.
I think this is a good idea. PHP solves a niche of small sites with slightly dynamic templates. (To some extent it owes more to rebol than to php - it has a large grammar and a notable amount of literals.) It makes…