Skip to main content

Programmers Weekly Newsletter - Thursday, October 29, 2015

Programmers Weekly Newsletter

Top new questions this week:

Does an interpreter produce machine code?

I study the topics of compilers and interpreters intensively. I want to check if my base understanding is right, so let's assume the following: I have a language called "Foobish" and its keywords are ...

compiler interpreters  
asked by GrayFox 37 votes
answered by Robert Harvey 72 votes

Why is deletion usually much harder to implement than insertion in many data structures?

Can you think of any specific reason why deletion is usually significantly harder to implement than insertion for many (most?) data structures? Quick example: linked lists. Insertion is trivial, but ...

algorithms data-structures  
asked by brito 30 votes
answered by Robert Harvey 60 votes

Why isn't the minus '-' sign generally not overloaded as the plus sign?

The plus sign + is used for addition and for string concatenation, but its companion: the minus sign - is generally not seen for trimming of strings or some other case other than subtraction. I wonder ...

coding-standards history operators overload  
asked by Digvijay Yadav 23 votes
answered by Jon Purdy 37 votes

Could an instance be equal to some other instance of a more specific type?

I've read this article: https://www.artima.com/lejava/articles/equality.html Basically, it provides a solution for an equals() method that supports inheritance: Point2D twoD = new Point2D(10, 20); ...

java c# scala comparison  
asked by Abe 22 votes
answered by Idan Arye 53 votes

Dependency Injection: Field Injection vs Constructor Injection?

I know this is a hot debate and the opinions tend to change over time as to the best approach practice. I used to use exclusively field injection for my classes, until I started reading up on ...

java dependency-injection java-ee  
asked by Eric B. 13 votes
answered by Robert Harvey 10 votes

Is a function immediately impure if it takes a function as a parameter?

Since the purity of an input parameter is an unknown until runtime, is a function immediately considered impure if it takes a function as an input parameter? Related: if a function applies a pure ...

functional-programming pure-function  
asked by Dancrumb 10 votes
answered by Daenyth 15 votes

In Scrum, should developers talk directly to customers (bypassing the PO)?

How should a product owner in scrum deal with very detailed questions from the team regarding the features they are implementing that he cannot instantly answer himself? When it would clearly be the ...

scrum communication product-owner  
asked by tizenegy 6 votes
answered by Doc Brown 16 votes

Greatest hits from previous weeks:

Are `break` and `continue` bad programming practices?

My boss keeps mentioning nonchalantly that bad programmers use break and continue in loops. I use them all the time because they make sense; let me show you the inspiration: function verify(object) ...

coding-style language-agnostic syntax readability control-structures  
asked by Mikhail 95 votes
answered by Klaim 125 votes

Why is 80 characters the 'standard' limit for code width?

Why is 80 characters the "standard" limit for code width? Why 80 and not 79, 81 or 100? What is the origin of this particular value?

coding-standards history  
asked by fredley 347 votes
answered by Oded 514 votes

Can you answer these?

Git Repositories updated

I would like to keep two Git Repositories updated. First one, is Github Open Source Project that gets updated frequently. Second one is a private held Git Repo located other than Github. This one ...

git github  
asked by bobsr 1 vote

How does the Python runtime know which object a method is bound to?

When defining methods in a class we do have an argument for the object on which the method is invoked i.e self. Say I have a class Foo. class Foo: def m(self): pass now when we have an ...

python python-3.x  
asked by Amogh Talpallikar 2 votes

MVVM viewmodel to view correlation in adaptive UI

I am making an mvvm application for the uwp platform and I am looking for advice on the following matter. Take for example the windows 10 e-mail application, which when full screen displays both the ...

c# design windows mvvm uwp  
asked by Corcus 1 vote
Subscribe to more Stack Exchange newsletters


Unsubscribe from this newsletter or change your email preferences by visiting your subscriptions page on stackexchange.com.

Questions? Comments? Let us know on our feedback site. If you no longer want to receive mail from Stack Exchange, unsubscribe from all stackexchange.com emails.

Stack Exchange, Inc. 110 William St, 28th Floor, NY NY 10038 <3

Comments

Popular posts from this blog

Drupal Answers Weekly Newsletter - Wednesday, December 31, 2014

Top new questions this week: Can I delete old hook_update_N functions? Suppose you have a custom module, and you have hook_update_N() implementations in your .install file. If you have old update functions, and all updates have run in all sites that the module is ... node-update hook-update-n   asked by AyeshK ...

[New post] 8th Class Result 2014 PEC Hafizabad Board

Muhammad Waqas posted: "PEC Hafizabad Board 8th Class Result 2014 expected date is 28th March, 2014 by PEC. Punjab Examination Commission (PEC) will announce 8th class result for Hafizabad Board soon and all the students of Hafizabad Board who are extremely waiting for the resul" New post on Jobs in Pakistan 8th Class Result 2014 PEC Hafizabad Board by Muhammad Waqas ...

[New post] 1st Year (11th Class) Result 2014 BISE Rawalpindi Board

Xaib Aslam posted: "BISERWP board Inter part 1 result expected on 10th October 2014 according our source. students of Rawalpindi board desperately waiting for 11th class result. 1st they upload the 12th class result and after some time they ready for showing the 1st year fin" New post on Jobs in Pakistan 1st Year (11th Class) Result 2014 BISE Rawalpindi Board by Xaib Aslam ...