Saving fish by writing code! Applications developer in fisheries, specializing in webapps and moving 'enterprise-y' legacy systems to modern agile systems - Email or tweet me if you want to talk!
I'm happy to hear you enjoyed my story.
We did some simple static analysis of simple types (boolean, integer, string) keeping track of what type was assigned to each variable during the code flow.
Our main focus was on arrays. Since in PHP arrays actually cover both traditional lists as well as maps. So based on the assigned keys and values in arrays we classified them as either of those subtypes.
Furthermore we created a plugin for IntelliJ which used our analysis to provide helpful tips for the user.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I really enjoyed your story. Sounds like you've done some pretty cool things. How did you tackle static analysis of a language like PHP?
I'm happy to hear you enjoyed my story.
We did some simple static analysis of simple types (boolean, integer, string) keeping track of what type was assigned to each variable during the code flow.
Our main focus was on arrays. Since in PHP arrays actually cover both traditional lists as well as maps. So based on the assigned keys and values in arrays we classified them as either of those subtypes.
Furthermore we created a plugin for IntelliJ which used our analysis to provide helpful tips for the user.