Clojure really needs the equivalent of Portacle; self contained directory with everything in it that's needed to just start coding without faffing about.
HN user
twistedpairs
Using max possible days in month gives ~21 million js:
[...Array(31).keys()]
.map(num => Math.pow(2,num))
.reduce((total,num) => total + num)
/ 100
$21,474,836.47or since the sum is equal to the next sequential (2 to power of n+1) minus 1 cent => 2^31 - 1 = $21,474,836.47
That's a given. That comment doesn't further the conversation in any way though?
Is it just me or is the wikipedia article for duck typing really bad?
The example they have is not illustrative or explanatory at all.
class Duck:
def fly(self):
print("Duck flying")
class Sparrow:
def fly(self):
print("Sparrow flying")
class Whale:
def swim(self):
print("Whale swimming")
for animal in Duck(), Sparrow(), Whale():
animal.fly()
output: Duck flying
Sparrow flying
AttributeError: 'Whale' object has no attribute 'fly'
This moreso shows a dynamic typing issue.I mean it is beyond madness to even think that Go's dev tooling compares favourably to Java tools & ecosystem on the friggin' JVM.
Dev tooling surrounding the JVM blitzes pretty much everything both in terms of dev(maybe code reloading could be improved for Java ala Clojure) & operations.
Lightyears ahead of Go.
It's been 5 years, and the Eurogroup destroyed the Greek economy
That's not true. Greed which benefited Greeks at the time destroyed the Greek economy.