Questions tagged [pragmatism]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
23 votes
10 answers
6k views

What does the crash early concept mean?

While I am reading The Pragmatic Programmer e2, I came across Tip 38: Crash Early. Basically, the author, at least to my understanding, advises to avoid catching exceptions and let the program crash. ...
Hawk's user avatar
  • 467
1 vote
2 answers
264 views

How to avoid duplication with Data Sources

I just started reading The Pragmatic Programmer e2. I came a cross the topic of avoiding Duplication with Data Sources, which I did not fully understand. The pragraph reads as follows: Many Data ...
Hawk's user avatar
  • 467
0 votes
1 answer
113 views

How to approach unorthogonal system?

I work on a software platform that is homegrown and, for the most part, used internally in the company but it is deployed in facilities across the globe. This system runs on a specific set of ...
mbadawi23's user avatar
  • 103
26 votes
6 answers
6k 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 ...
Telastyn's user avatar
  • 109k
0 votes
3 answers
596 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 ...
aragaer's user avatar
  • 656
2 votes
5 answers
605 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 ...
YoYoMyo's user avatar
  • 131
8 votes
3 answers
662 views

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

From the accepted answer to "Why is Lisp useful?": Wartiness. The real world is messy. Pragmatic coding winds up having to either use or invent messy constructs. Common Lisp has sufficient ...
Joey Adams's user avatar
  • 5,545
2 votes
1 answer
147 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 ...
Peter Turner's user avatar
  • 6,897
13 votes
9 answers
7k 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 ...
Edgar Gonzalez's user avatar
7 votes
5 answers
4k 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 ...
HanuAthena's user avatar
10 votes
6 answers
2k views

As a practitioner, why should I care about Haskell? What is a monad and why do I need it? [closed]

I just do not get what problem they solve.
Job's user avatar
  • 6,459
15 votes
11 answers
4k views

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

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 it'...
Lukas Eder's user avatar
  • 1,110
12 votes
12 answers
12k views

Is functional programming actually used to create applications? [duplicate]

Possible Duplicate: What are some well known applications written in F#? I see a lot of people talking about how cool functional programming is, how awesome Lisp and Haskell and F# are, etc, but ...
Mason Wheeler's user avatar