• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.
Showing developer posts only. Show all posts in this thread.

Johan

Studio Manager Paradox Tinto
Administrator
Paradox Staff
Moderator
15 Badges
Dec 14, 1999
22.085
263.906
  • Diplomacy
  • A Game of Dwarves
  • Magicka
  • Starvoid
  • Teleglitch: Die More Edition
  • War of the Roses
  • 500k Club
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis III: Collection
  • Magicka: Wizard Wars Founder Wizard
  • Hearts of Iron IV Sign-up
  • Stellaris Sign-up
  • Imperator: Rome Sign Up
Ever wanted to see how a Paradox employee's desktop looks like?

Here's how mine look like while working :)
 

Attachments

  • mydesktop2.jpg
    mydesktop2.jpg
    952,4 KB · Views: 1.598
Mine is not as relevant perhaps, but very pretty, so I'll post it anyway. :)
YES there are a thousand items on my desktop. They are all things that require immediate attention... Maybe.
 

Attachments

  • dsk.png
    dsk.png
    1,5 MB · Views: 903
here is mine, most of the mess is hidden under program windows :rolleyes:
 

Attachments

  • pod_desk.jpg
    pod_desk.jpg
    268 KB · Views: 531
I love how I see HOI2 installed occasionally but no where do I see HOI3 installed. :p

Edit: Nice wallpaper, SolSara.

I got a few different copies on the left under visual studio
 
Clear code, I like that. Thinking about HoI3 You should use Smart Pointers ;)

if you are talking the old standard boost::smart_ptr they dont really help that much and have several drawbacks (not-insignificant overhead, circular references, less clear ownership of data). handle based systems are much easier to manage. there are other types of smart pointers that are very useful though.
 
/me enters pontificating mode.

If you guys deviate a lot from Single Point of Maintenance (as in "// must be same order as EEXPENSETYPE") it's a safe bet you're having bunches of messes much worser than any mess which could possibly exist on a 2D desktop.

asserts are hence your friend for stuff like this so it doesnt break one day (but I agree with the principle where possible)
 
Indeed, they have drawbacks but have their advantages too. You have to weight and use the right smart pointers (auto, weak etc.). I prefer smart pointers (Qt) or you can make them on your own for full control and minimal overhead.

When were talking about memory allocation, do you use memory pools to prevent heap fragmentation?

Haven't read up on QT ptrs, but I have strong opinions against "smart" pointers in general. I accept auto_ptr and scoped_ptrs since they provide simple RAII functionality but if you start passing around shared_ptrs all over the place there is something wrong with your design. They of course have their uses, but only if you actually need refcounting.

We have some memory pools which we use on a need basis, but we use the standard allocator most often.
 
Yeah, if you can use it. I tried to convince my editor to switch, but he insists it makes random and so hard to spot errors when the books go out to be printed...

cool people use LateX :)
 
yeah LyX is pretty good, most learning etc problems for latex disappear when you use good templates though. Most universities in sweden give these to students. Last latex document I did was my application to paradox though :p these days I mostly write any stuff in restructured text or just plain text.