рытфолд

The Kingdom of the Netherlands

rightfold.sexy

Age: 20

17h
comment Why Wont Python Wont Do a Lot of Recursion?
Use the functools.lru_cache decorator instead of implementing it yourself.
1d
comment How to mixin traits declared in wrapper trait's self-types in an embedded type?
No, you cannot mixin instances, only traits.
1d
comment How to mixin traits declared in wrapper trait's self-types in an embedded type?
Then just do new PolicyHolderDAO with DbConfig with ActorSystemConfig? I don't see the problem.
1d
comment are full static arrays faster than malloc chunks?
I'm voting to close this question as off-topic because it is pure speculation.
1d
comment XML unencoding in Scala
codereview.stackexchange.com
2d
answered How to mixin traits declared in wrapper trait's self-types in an embedded type?
2d
comment How to change this code to use val instead of var?
Why do you use String and null instead of Option[String] and None?
2d
comment RAII and modern C++ in game dev
Optimise based on profiling results, not speculations.
Jan
24
awarded Popular Question
Jan
23
revised I am getting in <string>' requires string as left operand, not tuple
deleted 13 characters in body
Jan
23
reviewed Reject suggested edit on How to implement a logic for assigning a unique seat from the available seats
Jan
23
revised C++ Parse string to integer with specific classes
edited body
Jan
23
comment C++ Parse string to integer with specific classes
This isn't thread-safe. Use thread_local instead of static.
Jan
20
comment copy constructor - am I setting my std::strings correctly
1) Strings are not pointers. 2) Copy constructors are generated by the compiler, you almost never have to write them yourself.
Jan
20
revised Why ContT doesn't deal with the inner monad?
edited title
Jan
20
comment What is the difference between private and static private variables in javascript?
Why wouldn't it?
Jan
19
comment Is it necessary to include LaTeX?
possible duplicate of There's seriously no reason why LaTeX markup via MathJax shouldn't be enabled on SO
Jan
19
answered Does fmt.Print() write to stdout in GoLang?
Jan
19
comment Is there a shorter form for Go for range loops
@Intermernet No.
Jan
19
comment how to copy elements of one char array into another with extra variables or functions
Use std::copy. No excuses.
1 2 3 4 5