9,342 reputation
73988
bio website
location
age
visits member for 3 years, 10 months
seen 19 hours ago

0x2B | ~0x2B


1d
comment provability of while loop vs for loop
@babou: The most common interpretation of a for loop is a loop that iterates over a finite range or collection. Of course, in many languages you can hack a for loop to behave like a while loop, but I think that's not what Jörg had in mind.
2d
reviewed Leave Open Can programmer experience be expressed in hours of coded like hours of flight for a pilot?
2d
reviewed Leave Open What happened to Concurrent C?
2d
comment is This easy to learn Objective C in 1 month for beginner?
My favourite reading on this topic: norvig.com/21-days.html
2d
comment Why python function programming functions are not collection methods?
Let us continue this discussion in chat.
2d
comment Why python function programming functions are not collection methods?
@WinstonEwert: Then each method can be a thin wrapper around this common function implementation using __iter__.
2d
answered Why python function programming functions are not collection methods?
2d
comment Why python function programming functions are not collection methods?
@WinstonEwert: What would be so bad about that? After all the existing function implementations have to discriminate between the different collections they are applied to in the same way as the corresponding methods would.
2d
comment Why python function programming functions are not collection methods?
"There is no collection base class to put a map,reduce,filter etc on.": Why do you think that such methods should be put in a base class? Each collection classes could implement these methods and they would just happen to be there when you need them (duck typing).
Apr
21
awarded  Nice Answer
Apr
19
comment What is VLA and how it is implemented?
Newer is a bit fuzzy. Most mainstream languages are at least 10 to 20 years old.
Apr
19
comment What is VLA and how it is implemented?
What do you mean by legacy?
Apr
17
reviewed Leave Open TDD Red-Green-Refactor and if/how to test methods that become private
Apr
16
comment When Agile goes wrong
"... the project lead (scrum master)...": I recently listened to a talk by Bob Martin maintaining that the scrum master was not meant to be a project lead in the beginning: it was a role to be rotated among the team members (developers involved in the project, not managers) and was only supposed to check that certain agile principles were enforced throughout the sprint.
Apr
16
comment When Agile goes wrong
One risk of agile is that since it tends to favour short-term planning the team keeps implementing "low hanging fruits" and keeps postponing problems that have been known from the beginning of the project but that are more complex and cannot be solved within one sprint or two. I saw this happening a few times: the team kept implementing small stories and postponing bigger ones because "they're too complex and YAGNI" until shortly before release it became apparent that certain functionalities were not working and we had to fix them in a hurry.
Apr
16
comment When Agile goes wrong
"poor lines of communication": As far as I know, good communication has not been discovered by agile, and agile methodologies can do very little with dysfunctional teams that are not able to communicate.
Apr
14
comment Mutable with logic inside or immutable with logic outside?
@rwong: Good points. In a GUI the mutable parts can be confined to a small portion of the code.
Apr
14
comment Mutable with logic inside or immutable with logic outside?
@Ahmad: In a desktop application a GUI normally holds the current state to be displayed and therefore it is mutable. In a web application you can render the whole page at each request so, unless you use JavaScript to modify the current page, a web application can be seen as an immutable GUI: immutable snapshots are produced on the server and sent to the client.
Apr
13
comment “One of some”-type
@Snowman: Maybe AppleCarBook is not an appropriate name / example, but building the disjoint union of existing types is quite common. I find the empty interface solution OK.
Apr
13
reviewed Leave Open Does anyone else feel Scrum isn't agile?