Herzult / SimplePHPEasyPlus

A simple, pragmatic numeric operation api written in PHP. It does addition.
MIT License
1.16k stars 46 forks source link

Not really idiomatic PHP #30

Open bseibold opened 11 years ago

bseibold commented 11 years ago

Well, this is obviously a great library, but it looks like textbook Java style. So how about writing some simple regular expressions to transform it to Java syntax? I'm thinking

s/use/import/ s/namespace/package/ s/\$//

and so on. This could be useful for other PHP code as well. You could call it Metal. It could replace HipHop.

jrahmy commented 11 years ago

+1, would be really useful to me

vxf commented 11 years ago

that's just sick dude, do it