But we have lamdas in C++11!
http://www.cprogramming.com/c++11/c+...-closures.html
Yes, indent braces sound disgusting...

But we have lamdas in C++11!The problem with the old dps simulator is that the code was really not very polymorphic and couldn't really handle what I had planned for putting in stat weights (it just did pure power conversions, w/o stats and damage). It also didn't have a very robust priority parsing. Also you don't want to see what the event handling was like, there was a lot of spaghetti code. Was originally made for just bards. Monks and dragoons weren't too hard to add, but trying to make it work for casting was a chore, esp once things started taking more/less time than GCD.
If I do go back to it I would likely start over, maybe with a different language, either one that could be hosted online or something faster like C++. I don't think I could ever work with python, indents for braces? No way >.< Python's lamda functions would be useful though.
I should also add that iirc the simulator's primary purpose was to define "optimal" rotations, something which I figured people would have done by now since its been 2 years, but I guess people are still arguing about things? Back then when the game first came out there were a lot of people with terrible playstyles. So the simulator was made to settle those arguments. I couldn't really care less about stat weights, I get little enough gear as is.
http://www.cprogramming.com/c++11/c+...-closures.html
Yes, indent braces sound disgusting...
Last edited by HeavensSword; 04-27-2015 at 11:42 PM.
|
|
![]() |
![]() |
![]() |
|
|
Cookie Policy
This website uses cookies. If you do not wish us to set cookies on your device, please do not use the website. Please read the Square Enix cookies policy for more information. Your use of the website is also subject to the terms in the Square Enix website terms of use and privacy policy and by using the website you are accepting those terms. The Square Enix terms of use, privacy policy and cookies policy can also be found through links at the bottom of the page.

Reply With Quote

