3,308 reputation
21122
bio website
location London, United Kingdom
age 33
visits member for 3 years, 2 months
seen Nov 18 at 8:48

Software engineer, 5+ years


Nov
10
answered Should I choose to join a programming bootcamp or work as a junior developer?
Nov
9
comment Who is to blame for this range based for over a reference to temporary?
This has nothing to do with rvalues, or range-based for loops, but with the user not understanding the object lifetime properly.
Sep
24
awarded  Autobiographer
Sep
15
comment Why does java.util.ArrayList allow to add null?
@Philipp What values will it put into that space?
Sep
6
awarded  Yearling
Jul
26
answered Why do executables depend on the OS but not on the CPU?
Jul
21
answered Why use getters only as opposed to marking things final?
Jul
21
comment Why use getters only as opposed to marking things final?
Won't doing Martin Fowler's trick still require a library's user to recompile?
Jun
17
answered Is heap fragmentation a problem in bare-metal arm with g++?
Jun
16
comment Usage of raw pointers
@ThomasEding it's because blogs are given far too much weight in this industry. Someone manages to solve problem X without using language feature Y, and so decide Y should never be used. These are the same idiots who make everything a shared_ptr.
May
28
comment “bug” in C++11 text by Stroustrup?
It's quite possible that std::string::length() and strlen(std::string::c_str()) return different values if the string contains binary data. C_str does give a valid c-string, it just returns a pointer after all, you get the same effect if you do strlen("hello\0world")
Apr
18
comment How to make C++ template stack work with basic data types and compound variables?
Add an Empty() function so the user has some chance of avoiding this issue
Apr
7
comment Assert Message in Unit Tests
Why do you need asserts in unit tests? Can you not just check-and-fail?
Mar
24
comment How to reuse c++ code?
#include "repo/subsolution.h", and build subsolution as a library
Mar
9
awarded  Famous Question
Jan
26
reviewed Approve suggested edit on Why does the US government disallow dynamic languages for secure projects?
Jan
24
comment NDA's in interviews
I AM NOT A LAWYER: Why would it pose a problem? If you take the second job you have no obligation to tell the first company that fact. The only obligation on you would be to not talk about company 1's business with company 2, if you signed the NDA. If you don't sign it you don't get the interview.
Jan
24
answered What's the best way to retrieve a value and a status
Jan
16
answered How can I take a list of tokens (of variable number) and know what each token means?
Jan
16
comment How to use mock objects [C++] without passing them as arguments to functions
unique_ptr does that too