8,274 reputation
23554
bio website
location Cambridge, United Kingdom
age 29
visits member for 3 years, 9 months
seen 5 hours ago

I’m a bioinformatics PhD student at EMBL-EBI and the University of Cambridge but I’m originally from Berlin.

I’m mainly working on genomics using next-generation sequencing data. My current thesis project is about the regulation of tRNA expression in mammals.

Here’s my …

twitter-pic Twitter account
g+-pic Google+ account
github-pic Github account
cv-pic Resume


Jun
24
comment What are the drawbacks of immutable types?
@MainMa The example does not represent the best available approach though. The immutable code can be made (almost) as short as the mutable one, and many examples are indeed shorter then their mutable counterpart.
Jun
24
comment What are the drawbacks of immutable types?
“It requires more work” – citation required. In my experience it requires less work.
Jun
24
comment Project based prefix for class names
Your project leader is replicating the functionality of namespaces, badly. They gain nothing by doing so, and potentially lose. Shouldn’t this be an absolute no-brainer?
Jun
23
awarded  Nice Answer
Jun
10
awarded  Nice Answer
May
8
awarded  Good Answer
Apr
28
awarded  Guru
Apr
1
awarded  Enlightened
Apr
1
awarded  Nice Answer
Mar
22
comment Why is Global State so Evil?
@Doval I completely agree, I was just pointing out that the answer wasn’t addressing this.
Mar
14
awarded  Good Answer
Mar
4
comment Is it bad to use Unicode characters in variable names?
@John I maintain that “change the tools” is an appropriate answer. Your example in particular illustrates such a case: Java .properties files are trivial to parse. If you really happened to work with a tool chain which, backed by .properties files, didn’t support Unicode, it’s entirely reasonable to drop said tool chain (and either replace it yourself, find an alternative, or, in the worst case, commission one). Of course this doesn’t apply to legacy systems. But for legacy systems none of the considerations for best practices ever apply.
Mar
4
comment Is it bad to use Unicode characters in variable names?
@John Well in that case the question doesn’t pose itself, you’ll surely agree: if a given encoding is required, you cannot use symbols from another encoding.
Feb
23
comment What are the advantages of pass by value?
That’s a pretty horrible answer as far as I’m concerned, and the most upvoted answer in that thread actually answers your question.
Jan
27
comment Limitations of Polymorphism in statically typed languages
@jmoreno Absolutely agreed. I understood the question to include the operations childNodes, getElementsById etc. in the consideration. – Even then this would probably be okay.
Jan
27
comment Limitations of Polymorphism in statically typed languages
@jmoreno Maybe we misunderstand each other – if your language supports classes implementing multiple interfaces (and as you’ve said, all do) then why would you use one common interface rather than several separate ones? It’s that one common interface which is referred to as “fat interface”, pretty much by definition. And, like I mentioned in a previous comment, the whole point of OP’s example is that the classes don’t share a logical common interface for many of the operations.
Jan
13
comment What is meant by “Now you have two problems”?
@JS. Oh sure. But I feel that an explanation without context obscures a crucial point: that this quote is often (predominantly, in my experience!) used as an argument from ignorance against using regex. Your comment on the face of it reads like an endorsement of that position. It seems I’ve misread that.
Jan
13
comment What is meant by “Now you have two problems”?
@JS. I’m saying that they should, and that it’s so integral that you can safely force them to learn it. Do not bow to engineering ignorance, if they contradict best practices. Following this argument to its logical conclusion we would never have gone to the moon because most engineers don’t understand the tools required. The argument is simply invalid.
Jan
12
comment What is meant by “Now you have two problems”?
@JFA That’s completely unrelated. Regex aren’t “clever”, they’re a well-established, well-defined tool that’s been around as long as other programming languages (and longer than most). It’s ridiculous to argue that you shouldn’t use powerful tools for fear that uneducated people might not understand them – this would preclude using any insight from computer science. You cannot work like that.
Jan
11
comment What is meant by “Now you have two problems”?
@JS. I don’t buy that argument – it’s true for any library that you might leverage in a given programming language. Granted, regex are more complex than many libraries, but they are also far more universal, small variations notwithstanding. It’s far more reasonable to expect programmers to know regex than most other libraries – they are a fundamental tool of text processing. In fact, if you look at the Unicode definition you’ll see that except for encoding (and normalisation) they are the only fundamental tool.