1,991 reputation
514
bio website
location Helsinki, Finland
age 25
visits member for 2 years, 4 months
seen Apr 8 at 13:34

Dec
18
awarded  Yearling
Dec
17
awarded  Nice Answer
Nov
8
comment Are there any technical obstacles for implementing `function* ()` syntax
@shabunc yes, you can't just introduce changes that will break existing websites
Nov
8
answered Are there any technical obstacles for implementing `function* ()` syntax
Oct
24
comment What are the safety benefits of a type system?
@Giorgio with such definition for example Java is not strongly typed. But in many cases it is claimed to be. There is just no meaning to these words. Strong/Weak typed have much more accurate definition as "I like/don't this language" like jozefg says.
Oct
24
comment What are the safety benefits of a type system?
It is also not useful to say interpreted language... about a language implementation yes, but not the language itself. Any language can be interpreted or compiled. And even after the edit you are using the terms strong and weak typing.
Oct
23
comment What are the types of dynamically typed languages arrays?
Well, it is not efficient because it's an additional level of indirection.
Oct
23
comment What are the types of dynamically typed languages arrays?
@ViliamBúr That's not true at all. That doesn't even make sense, the Javascript language doesn't dictate how implementation should actually represent arrays as long as everything looks the same to the user.
Oct
23
comment What are the types of dynamically typed languages arrays?
@FlorianMargaine well in V8 you would have "Object*". Then you would read the 2 smallest bit to see if it's even a pointer at an object, an error or a direct SMi (small integer) embedded. If it's a pointer at an object, then you can dereference it and see what kind of object it is because MapPointer is always the first field of any heap object and describes what type it is.
Oct
23
comment What are the types of dynamically typed languages arrays?
@FlorianMargaine well not literally a void * but the same idea yes
Oct
23
revised What are the types of dynamically typed languages arrays?
added 130 characters in body
Oct
23
answered What are the types of dynamically typed languages arrays?
Sep
20
comment Correct comment to put for boolean function arguments that are “false”?
use enums (even if there is just 2 options) instead of bools
Sep
19
comment Does setting a function public affect the C# compiler's ability to inline the function as an optimization?
The IL is completely useless to answer any kind of optimization or performance question - always check the generated machine code from JIT.
Sep
12
awarded  Good Answer
Sep
10
awarded  Announcer
Sep
7
awarded  Cleanup
Sep
7
revised If my team has low skill, should I lower the skill of my code?
rolled back to a previous revision
Sep
4
comment Is try-finally expensive
Exceptions are not necessarily rare in practice, it's just accidental side effect. For example if you have bad UI people might cause the exception use case flow more often than the normal flow
Aug
30
comment Avoiding boilerplate in PHP classes
Again, macros solve mistyping :P