| bio | website | |
|---|---|---|
| location | London, United Kingdom | |
| age | 27 | |
| visits | member for | 2 years, 8 months |
| seen | Apr 25 at 17:28 | |
| stats | profile views | 198 |
As a polyglot programmer, I always choose the best language or technology for the task I wish to accomplish. I'm never afraid to learn new things for a project.
|
Nov 10 |
comment |
Is there such thing as an example driven parser generator or ad-hoc DSL development? I've written at least one small tool which including a DSL with a hand-built parser; the parse was simply a loop that finds the regex to match each line and uses that to turn it into a data object. It was actually really easy. |
|
Nov 4 |
comment |
.NET internals:Where is a good place to learn the “under the hood” stuff in .NET? Agreed. Read the entire blog starting at around 2005/2006, and you'll have some glimpse of an insight into what .Net is like from the inside. |
|
Nov 4 |
comment |
.NET internals:Where is a good place to learn the “under the hood” stuff in .NET? If Microsoft didn't want you to know their internals, they wouldn't have made it open source... en.wikipedia.org/wiki/… |
|
Oct 27 |
comment |
How do you learn Regular Expressions? Oh, so I was right, sort of - but it only applies to relatively simple regexes. Thanks for the explanation. |
|
Oct 27 |
comment |
How do you learn Regular Expressions? You say that regular expressions are not regular - but I thought the world regular in the name was referring to the expressions it matches - e.g. the regular expression "[0-9]{3}" which can match any three digit number, and the three digit number 480 is an example for a regular expressions it matches. |
|
Oct 26 |
comment |
Appropriate uses of fall-through switch statements @Caleb: In this case, yes. But what if the calls were a little more complicated? It could get a bit hairy, while fall through makes it seem simple. I should note I'm not actually in favour of using fall through - I'm just saying it can be useful in certain situations. |
|
Oct 26 |
revised |
Appropriate uses of fall-through switch statements added 55 characters in body |
|
Oct 26 |
comment |
Appropriate uses of fall-through switch statements @RussellBorogove: Absolutely correct. |
|
Oct 25 |
answered | Appropriate uses of fall-through switch statements |
|
Oct 20 |
comment |
Is it more secure to hash a password multiple times? I know of a company that wanted to use unsalted MD5(password). We said it's not secure, so they suggested using MD5(MD5(password)) instead... |
|
Oct 20 |
answered | Deploy multiple emails to email providers, but without showing favouritism |
|
Oct 20 |
answered | Why are assumptions important when defining a puzzle? |
|
Oct 14 |
comment |
Ethics of collecting non-identifiable information on install Everything except the unique system hash can actually be determined by the /download page quite easily server side. Geographic location is probably easier to determine from the server than the client. |
|
Oct 7 |
comment |
What is the greatest design flaw you have faced in any programming language? It does have good use cases though - stubbing or memoization. Instead of writing v() { if (not alreadyCalculatedResult) { result = long(operation); alreadyCalculatedResult = true; } result; } you say v() { result = long(operation); v = () => result; result; } |
|
Oct 7 |
comment |
What is the greatest design flaw you have faced in any programming language? @MikeDunlavey: You can't backtrack in C/C++ because you don't have call/cc, not because of the different macro system. |
|
Oct 7 |
comment |
What is the greatest design flaw you have faced in any programming language? @ammoQ: It's obvious? What is it then? An object or a code block? |
|
Oct 7 |
comment |
What is the greatest design flaw you have faced in any programming language? I like Prolog's =, meaning unification - an interesting amalgamate between assignment and comparison. |
|
Oct 7 |
comment |
From Slashdot: Does being a loyal developer pay? Excellent answer. Also, made me think of my current company, which does encourage people with better opportunities to take them, and even helps them with it. |
|
Oct 5 |
comment |
How can I secure a short-term programming job or internship abroad? Isn't doing this kind of a problem because you need to get a new working visa for every place you visit? Contracting within your country is easy, but this doesn't sound as achievable. |
|
Oct 5 |
comment |
Are operators just “special” methods? What does the boobies function do? |