The tag has no wiki summary.

learn more… | top users | synonyms

15
votes
4answers
1k views

Why implement a lexer as a 2d array and a giant switch?

I'm slowly working to finish my degree, and this semester is Compilers 101. We're using the Dragon Book. Shortly into the course and we're talking about lexical analysis and how it can be implemented ...
0
votes
3answers
143 views

Indirection: Readability vs Performance [closed]

(I see there are a lot of similar questions, but answers are not really what I am interested at.) The thing that is bugging me is indirection. If I'm writing something, I do tend to inline as much ...
9
votes
6answers
1k views
10
votes
9answers
3k views

Code Reviews, what are the advantages? [closed]

In my team, we don't do formal code reviews. We tend to think that it's enough with pair programming and rotating pairs often. Should we consider doing formal code reviews? What would be the ...
2
votes
5answers
568 views

Convince someone that an app cannot be done [closed]

I am profoundly disturbed by a request that asks me to develop an iPad app to measure the actual size of an object using camera. It is simply not practical. Translating 2D object into 3D is never ...
5
votes
3answers
317 views

What are some examples of “wartiness” making a programming language more useful?

From the accepted answer to "Why is Lisp useful?":  5. Wartiness. The real world is messy. Pragmatic coding winds up having to either use or invent messy constructs. Common Lisp has ...
5
votes
4answers
230 views

Is reference to bug/issue in commit message considered good practice?

I'm working on a project where we have the source control set up to automatically write notes in the bug tracker. We simply write the bug issue ID in the commit message and the commit message is added ...
2
votes
1answer
115 views

Munging intro level knowledge of set theory with intro level knowledge of electronics to parse and evaluate the content of HL7 messages

This question is being asked for the purposes of evaluating whether or not attempting to use things I picked up in college was a good idea, or even remotely defensible. Last year I wrote a 'formula ...
6
votes
5answers
2k views

Suggest other people's code to study [closed]

What open source Java code would you suggest for me to study? EDIT: I'm interested in the design, simplicity(?), their programming style, logic. EDIT2: The first thing that came to my mind is ...
16
votes
11answers
2k views

How not to suffer from ideologists when you're a pragmatic person?

I'm a pragmatic person (I think I am. But then again, Jon here has an interesting point ). Sometimes, the most simple solution to a problem to get the job done is the one that fits best for me, if ...