5,859 reputation
1348
bio website
location
age
visits member for 3 years, 1 month
seen 14 hours ago

Aug
26
comment How do I move away from the “for-loop” school of thought?
The way I read that link on vectorizing data is that it mainly hides the looping and makes it more efficient but it still takes place. Correct me if I'm wrong but will numpy arrays transform O(n^2) operations into O(n log n) operations? If you don't handle complexity you're just delaying your bottlneck.
Aug
26
answered How do I move away from the “for-loop” school of thought?
Aug
26
comment How do I move away from the “for-loop” school of thought?
If your arrays are slow you may want to think about using other datastructures, like a binary tree. laurentluce.com/posts/binary-search-tree-library-in-python
Aug
26
comment Is method overloading anything more than syntactic sugar?
Following your reasoning, the overloaded "+"-operator is purely syntactic sugar, because it can add 2 numbers but also concatenate 2 strings.
Aug
25
reviewed Approve How to implement a genetic algorithm with distance, time, and cost
Aug
25
reviewed Approve What is referential transparency?
Aug
25
comment Minimal set of critical database operations
I'm wondering what the real problem is? Do you want to whitelist some database operations or blacklist others? Like allow statements with SELECT, UPDATE, INSERT but disallow statements with things you may not need? Like UNION, HAVING etc, ?
Aug
22
reviewed Reject Two HTML elements with same id attribute: How bad is it really?
Aug
22
comment Do you think asking to sign contributor license agreement for a open source project creates a resistance for contributors?
"Lack of a CLA guarantees to me that my work will stay open source." CLA's can provide that too.
Aug
22
reviewed Reject Questioning one of the arguments for dependency injection: Why is creating an object graph hard?
Aug
22
comment Do you think asking to sign contributor license agreement for a open source project creates a resistance for contributors?
This is Extremely bad advice. There may be reasons for or against a CLA, but starting without one and then adding one later is one of the worst paths you can take.
Aug
22
answered Do you think asking to sign contributor license agreement for a open source project creates a resistance for contributors?
Aug
22
comment Do you think asking to sign contributor license agreement for a open source project creates a resistance for contributors?
"I believe you first should make your free software popular and successful and attract small contributors; for that you need to avoid CLA." By the time your software becomes popular and your project has a dozen contributors, your project already will have so many people with their copyright rights on the source that making a CLA then will not work. Have one from the start or not.
Aug
21
reviewed Approve Why is trailing whitespace a big deal?
Aug
20
reviewed Approve Which parallel pattern to use?
Aug
20
comment In what programming language did “let” first appear?
You make the incorrect assumption that the first use of "let" in a programminglanguage is the origin of "let"-use in Lisp, Clojure, and Haskell.
Aug
20
comment In what programming language did “let” first appear?
@JohanKarlsson There are 2 original questions and 1 incorrect assumption by the topicstarter. The incorrect assumption is that the first use of "let" in a programming language must be the origin of "let"-use in Lisp, Clojure, and Haskell.
Aug
20
comment In what programming language did “let” first appear?
The question in the title isn't the same question as in the body. Question in title asks for first use of let in programming language and the question in the body is about the origins of let. Those two questions have two different answers. The wrong assumption made by the topicstarter is that the modern use of let is inspired upon older use of let in earlier programming languages. Whereas the use of let in languages like haskell would have happened regardless of the use of let in basic, because functional languages have a lot of their origins from math, where let is commonly used.
Aug
20
comment In what programming language did “let” first appear?
let origins are from math, not from other programming languages.
Aug
20
comment How to refactor a myriad of similar classes
I'm wondering what the differences between your similar classes are? How big/small, maybe give an example.