1,976 reputation
513
bio website mackeblog.blogspot.com
location Gothenburg, Sweden
age 35
visits member for 3 years, 6 months
seen Apr 13 at 19:35

M.Sc. in Computer Science and Engineering, specialization in programming languages and algoritms

Professional interest in:

  • Python
  • OpenGL/OpenSG
  • Software engineering
  • Mercurial
  • BuildBot
  • C++

In the spare time

  • Bass player in rock cover band
  • Petrolhead (Seen a few F1-races live)
  • Gamer

Apr
10
comment Make use of design patterns in C?
+1. You could also say that many of the design patterns are implementation overhead themselves for missing features in common OOP language implementations..
Feb
21
comment Can JavaScript be used as a general scripting language?
With Qt5, javascript get's an even bigger role with the new QML/QtQuick GUI framework (uses embedded javascript for managing the UI).
Jan
20
comment Is that concept of securing connection between telephone and server makes sense
@Yoda: Still, knowing the purpose and imagined use-case would help us to answer "does it make sense" or not. As for code samples, Google for it. Windows Phone surely has a TCP Socket class, as does PC (whatever you write the server in). "estimate connection" is unclear. What do you mean by that? ... Also, read up on TCP/IP programming and try to ask again using less broad questions and more precie words.
Jan
20
comment Is that concept of securing connection between telephone and server makes sense
Please clarify 3. Do you need to identify the phone, the server, the tag or the app running on the phone? Consider HTTPS and certificate verification when connecting your app to the server.
Jan
18
comment What are the drawbacks of immutable types?
@supercat: Like C++11's rvalue references?
Jan
18
comment What are the drawbacks of immutable types?
You have to code quite smartly sometimes for the compiler to figure out that there's no reference to the previous object left behind and thus can modify it in place, or do deforestation transforms, et al. Especially in larger programs. And as @supercat says, identity can indeed become a problem.
Sep
28
awarded  Yearling
Aug
22
revised Are there any real-world cases for C++ without exceptions?
added 55 characters in body
Aug
22
comment Are there any real-world cases for C++ without exceptions?
@armb: Yes. See "In that context, even free store allocation is banned!" above.
Aug
14
comment What do other languages offer when it comes to infrastructure technology that could indicate its advantage over C in the future?
@DanPichelman: Indeed. This includes games on mobile phones, were garbage collection during gameplay is to be wholly avoided if smooth frame rates are desired.
Aug
12
comment Reusing open-source code that doesn’t specify a license
@RaduMurzea: Thanks. I've clarified that...
Aug
12
revised Reusing open-source code that doesn’t specify a license
added 120 characters in body
Aug
12
revised Is it OK to split long functions and methods into smaller ones even though they won't be called by anything else?
added 123 characters in body
Aug
12
answered Reusing open-source code that doesn’t specify a license
Jul
16
comment When does SOAP make more sense than REST?
Don't forget that REST also includes the HATEOAS concept, which allows for mucgh more than atomic CRUD ops. It's a browsable web interface for computers, where you get/post forms.
May
24
comment Is there a specific name for the “Square inherits from Rectangle” paradox?
FWIW: More specifically, the problem is that the reading and writing interfaces don't match up. I.e. you can read a circle as a specialization of an ellipse, but only write an ellipse as a specialization of a circle.
May
15
comment Multiple Interfaces in Java - Good or bad
Alright. Answer posted after migration from SO to P.SE. Thanks! :)
May
15
answered Multiple Interfaces in Java - Good or bad
May
15
comment Multiple Interfaces in Java - Good or bad
FWIW: this was what I had written: pastebin.com/pmeLmMP4
May
15
comment Multiple Interfaces in Java - Good or bad
I just had a pretty good (IMHO) answer written here. Question was closed as I wrote the final paragraph. I think it'd add value to the site, as I myself faced this question 10 years ago... :(