ZJR
  • Member for 10 years, 7 months
  • Last seen more than a week ago
  • Genoa, Italy
What is MVC, really?
92 votes

MVC is mostly a buzzword. It used to be considered a pattern, but its original 1979 definition has been dumbed-down, passed-on, misinterpreted, taken out-of-original-context. It's been ill-redefined ...

View answer
When should I make the first commit to source control?
78 votes

Yesterday ...in alternative, if you're unable to time-travel... (maybe your car can't get to 88mph, or your flux capacitor just snapped) Now New projects should be committed on the bloody spot, it's ...

View answer
Is Perl still a useful, viable language?
Accepted answer
60 votes

First of all, it's always better to disambiguate. Businesses talk about Perl 5 when talking Perl, but on a far-far land, beyond deep-thinking island, the design-by-committee tribe is still ...

View answer
What is best practice on ordering parameters in a function?
Accepted answer
59 votes

In general: use it. Write a test for your function, a real world test. Something you would actually like to do with that function. And see in what order you did put those down. Unless you already ...

View answer
How would you react if someone told you your code is a mess?
40 votes

Everybody's code is a mess and there are no good programmers. There are: programmers that ship fast, programmers that always ship semantically correct code, programmers that always come up with the ...

View answer
Why is Scheme my first language in university?
37 votes

Congratulations, you're now being turned into the equivalent of a vegan in the computer world, and in two years you won't be able to end up any discussion without informing people about the higher ...

View answer
Is is acceptable to create mediocre code now in preparation for new language features?
Accepted answer
37 votes

Don't fall for the chant of sirens. Their song talks about new features and performance improvements, but all you get by listening to that, is a neverending stream of pain, delays, procrastination, ...

View answer
What's the difference between an API and an SDK?
26 votes

API → documented interface (at a certain point in time, and for a certain audience. Documentation might be incomplete and/or unavailable to the general public and this might be on purpose, but this ...

View answer
When Agile goes wrong
22 votes

People that didn't understand what agile is (was?) all about and apply it to: clients that are unavailable for comment until the deadline ...and threat legal action afterwards; managers that keep ...

View answer
Why are part-time jobs in programming an anomaly?
18 votes

Most answers I see are rationalizations for the status quo, but really, I don't think there is a good reason for this state of things. Most programmers seem to believe not having a life is part of the ...

View answer
Composition of a dev team
14 votes

Fantastic. Your team is huge, the methodology looks quite wrong for it and chosen for its buzzword value, the most knowledgeable ones have been practically removed from the team (instead of dispersed ...

View answer
Etiquette when asking questions in an IRC channel
12 votes

Check the timezone of the main developers, if they're not awake when you IRC them, you'll hardly get any reply. Some may appear online, but just left a bot or left the client open to check for some ...

View answer
How is IETF different from W3C?
11 votes

IETF focuses on packet/line/terminal/telnet based protocols. W3C adresses SGML/HTML/XML inspired stuff. You may also be interested in IEEE, an organization that instead loves communications on the ...

View answer
Stronger Unit Tests Unearth Many Bugs, What to do re Validations?
10 votes

Am I stating the obvious? The best practice, here, is: "Talk to Your Manager." This check-in will have repercussions and you know it, it could scramble the workflow, people could decide to ...

View answer
At what point/range is a code file too big?
10 votes

When the code in it becomes unmaintainable. i.e: you can't tell just by watching the code if the method/class/function you're looking for (and have to edit/debug) is in there, or not, and if so, where ...

View answer
Is code commonly generated from UML?
10 votes

NO The legend was based on the failed assumption that writing: class ClassName extends SomeThing { } ...it's hard and needs automation. You still may find the occasional believer, or crowds of ...

View answer
How do I avoid "Developer's Bad Optimization Intuition"?
10 votes

As anyone here is talking about profilers I will focus on this part of the question. How can a developer avoid this bad intuition? You. do. not. Instead you never optimize early on. Repeat it ...

View answer
How to manage a developer who has poor communication skills
9 votes

First of all, putting blame on your team members... denotes poor managerial skills. I mean, if he really has poor communication skills, I'm very sorry for his social life, but really, at work this ...

View answer
How can I reformat my condition to make it better?
8 votes

You could just try to nail the no-go case and bail out if that shows up. while(someCondition) { if(exists && isDirectory) continue; // maybe "break", depends on what you'...

View answer
Pointless Code In Your Source
8 votes

Old fellows told me of a time when consultants where paid by the number of lines of code they produced. And so they maximized profits using amazingly long-winded constructs. Nowadays I always assume ...

View answer
Do you sign contracts digitally or still on paper? And what do clients think?
7 votes

Let's run trough your examples, shall we? Airlines, hosting companies, and software downloads are all paid in advance. Big Corps (many airlines, some hosting company, and some software house) that ...

View answer
Can I use MIT licence plugins in my commercial web site?
7 votes

Every opensource licence to date (MIT too, a BSD-spirited licence) allows you to use the software on a commercial web site (and that's part of the reasons for the extreme OSS propagation in latter ...

View answer
How can I demonstrate my productivity to management?
6 votes

This really sounds like a code monkey farm, professors want you to adapt to the "war room" environment, (aka open space environment) that so many companies nowadays, think is optimal. By the time you'...

View answer
What characteristics or features make code maintainable?
6 votes

Ask yourself some questions. (or, as some may say, let's run together trough some scenarios) How hard will it be for you to understand what you wrote? Last week? Last month? Last year? 27 years from ...

View answer
Modifying an open source application
Accepted answer
6 votes

There's some protocol, everybody more or less desumes it with time, but here it is, unrolled. You download the distributed source. You start navigating the code by yourself a little If it's a ...

View answer
What is the senior web developer's role in the team?
5 votes

Well, let's explain... leadership. All your team's mistakes are now yours to take blame of. Same goes goes for the successes, but really, this is software development, success is modest, you will ...

View answer
When is unit testing inappropriate or unnecessary?
5 votes

Sometimes you don't have time to unit test. That's okay. External constraints exists and you may not feel the need for tests in a given moment, as you may think you have a firm grasp on the whole ...

View answer
What does mathematics have to do with programming?
5 votes

I suppose, to date, you've been taught elements of calculus and some trigonometry. And you call that Mathematics. That's like calling a pair of legs "a human being." Calculus have little to do with ...

View answer
Taking an open source project to closed source
5 votes

You can't take one user's rights of using given-software v1.5 away once he obtained it trough GPL/OSS licensing. BUT. You can contact the author of given-software v1.5 and buy a commercial license ...

View answer
Can you learn OO programming without procedural?
5 votes

OO is an extension of the procedural paradigm. You can learn to program in OO without being able to code non-trivial-to-complex programs in procedural languages, but the theoretical bases behind ...

View answer