157 reputation
5
bio website adaptivity.nl
location Bournemouth, United Kingdom
age 34
visits member for 2 years, 11 months
seen 2 days ago
I am a researcher in the area of business information systems. As part of this research I build experimental prototypes.

Jan
30
comment Why should passwords be encrypted if they are being stored in a secure database?
Encryption and hashing are different things. Hash passwords, don't encrypt them. You never need to know them. You only need the user to be able to use the password to prove who he/she is. Hashing (with salt) allows this. Encryption, esp. symmetric encryption is wrong as it allows passwords to be recovered.
Jun
3
comment Why aren't user-defined operators more common?
@KonradRudolph SK-logic The elephant in the room is that to be able to do this "efficiently" you cannot use the "dragon book" approach to parsing. You will need so use a parsing approach that integrates some form of semantic analysis (declaring new operators), parsing (reading high level tokens) and tokenization. Dragon book style parsing has a strong separation between the approaches which makes it impossible to do this. Dragon book parsing however also makes for pretty bad error messages as humans don't write code in "stages". And nowadays we have enough memory.
Apr
7
answered How important is it to reduce the number of lines in code?
Jun
8
answered Javascript: Safely upload a client data file
May
31
answered returning null vs returning zero, which would be better?
Oct
31
answered Which tips helped you learn touch-typing?
Jun
10
comment types of encoding in xml
UTF-8 works with "strange" characters (like UTF-16), most other encodings don't work with arbitrary "strange" characters. The only difference between UTF-8 and UTF-16 is the multiple of bits used. There are some characters that can be expressed in two bytes by UTF-16 and 3 by UTF-8.
Jun
10
awarded  Critic
Jun
10
comment Code reuse: Reusing complex method vs. cherry-picking parts
If they are that dissimilar, probably you would indeed have to rewrite the entire parser part. Depending on the output format, you could reuse an in memory representation of your output (if it isn't worth it you wouldn't)
May
27
awarded  Teacher
May
27
awarded  Supporter
May
27
answered Code reuse: Reusing complex method vs. cherry-picking parts
May
27
awarded  Autobiographer
May
27
awarded  Editor
May
27
revised How do you feel about being asked to code during an interview?
Fix spelling of signer to singer
Oct
17
comment Is premature optimization really the root of all evil?
This is certainly correct. I guess that premature optimization is when code is made more complex / hard to understand for unclear benefits, in a way that has only local impact (design has global impact).
Oct
17
comment Is premature optimization really the root of all evil?
The code introduces further complexity, and will likely not be universally used. Backing it (and similar things) out keeps the code clean.