Tagged Questions
3
votes
5answers
211 views
Using 'new' in a projection?
I wish to project a collection from one type (Something) to another type (SomethingElse). Yes, this is a very open-eneded question, but which of the two options below do you prefer?
Creating a new ...
1
vote
4answers
258 views
Is extensive documentation a code smell? [closed]
Every library, open-source project, and SDK/API I've ever come across has come packaged with a (usually large) documentation file, and this seems contradictory to the wide-spread belief that good code ...
24
votes
9answers
2k views
Simple vs Complex (but performance efficient) solution - which one to choose and when?
I have been programming for a couple of years and have often found myself at a dilemma.
There are two solutions -
one is simple one i.e. simple approach, easier to understand and maintain. It ...
0
votes
2answers
649 views
GUI advice for a responsive touchscreen
I am tasked with building a piece of software that interfaces with a MySQL database, in order to allow the user to pick songs to play and que using a touch screen, and then they are shown ...
31
votes
16answers
3k views
Should I continue my self-taught coding practice or learn how to do coding professionally? [closed]
Lately I've been getting professional work, hanging out with other programmers, and making friends in the industry. The only thing is I'm 100% self-taught. It's caused my style to extremely deviate ...
7
votes
5answers
909 views
Any Practical Alternative to the Signals + Slots model for GUI Programming?
The majority of GUI Toolkits nowadays use the Signals + Slots model. It was Qt and GTK+, if I am not wrong, who pioneered it.
You know, the widgets or graphical objects (sometimes even ones that ...
3
votes
2answers
174 views
In Functional Programming, should domain-relevant simple functions (e.g., sorts) be reified?
In a functional application, should you wrap common higher-level functions in domain-meaningful names or should you leave them "bare"?
For instance, if you have a list of Addresses, and "sorted by ...
21
votes
8answers
3k views
What is the ideal length of a method?
In object-oriented programming, there is no exact rule on the maximum length of a method , but I still found these two qutes somewhat contradicting each other, so I would like to hear what you think.
...
14
votes
2answers
626 views
Does objective-c's method overhead make a 'many small methods' design approach inadvisable?
I generally favour using small methods, as recommended by, amongst others, Bob Martin in Clean Code. I've also read enough about Objective-C's internals to have at least some idea about how its ...