Guest edwinsweep Posted March 15, 2006 Share Posted March 15, 2006 hi everybody i know this isnt really on topic here but i dont know any other place to post this:).yesterday a friend showed me a short script in VB and asked me what whas wrong with it.i would'nt know i dont read VB.the intention of the script is to solve sudoku puzzles.so i whas thinking would php be a good script to do this.altough it isnt designed for it, php does have a lot of calculation function in it.if anybody has an idea if its possible at all!please let me know.and what do you think would be better. VB or PHP?thanks in advance! Quote Link to comment Share on other sites More sharing options...
keeB Posted March 15, 2006 Share Posted March 15, 2006 It can be done in both, of course.. because they both support arrays and that's really the only way you could solve it.PHP could do this but the limitations are the input data and the ui.. VB has the data and ui part sorted out quite easily, but the back end part would be a little iffy...Sooooooo, to answer your question? Programmers preference. Quote Link to comment Share on other sites More sharing options...
Barand Posted March 15, 2006 Share Posted March 15, 2006 Given PHP's dynamic array abilty and the richness of array functions (array_intersect(), array_diff() etc) I'd rather tackle the Sudoko problem with PHP than with VB.... or any other problem. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.