What scripting language do you use?
I want to convert a bunch of old projects I wrote in java into a scripting language and then toss em on the web.
What language does what, and which one do you prefer.
I'll name some popular ones I'm interested in, and I hope you guys can guide me to make the right choice.
Javascript, Perl, Ruby, Python
Which one will it be /g/?
pic always related
Be sure to post them on something like GitHub!
Personally, i like bash. But JS and Python are cool.
>>54988412
You'll have the easiest time by far doing them in python
>>54988431
>>54988447
Not gonna lie, I was leaning towards either of those.
I'm not necessarily looking for something easy, but rather something that will make it efficient and work almost everywhere.
>>54988412
Python is really fun to write/learn. If you don't mind sacrificing readability, you can do some really cool shit in line.
I'm still a scrub at python, but I did this on codefights.z = lambda n: "1" if n ==1 else ''.join([''.join([str(len(i[0])),i[1]]) for i in re.findall(r'((\w)\2*)', z(n-1))])
lookAndSaySum = lambda n: sum(int(j) for j in z(n))
It gives you the sum of a look and say sequence after n iterations. There's a dude on there who did it in 30 less characters than that, just to put it out there.
>>54988482
That's really cool. I guess I should have made a python v js thread. I might just up and go for python.
bumpo no pico
>>54988412
I use php almost exclusively.
>>54989155
you're cute
>>54989155
>tfw the job posting said to know Java
>they tell me in the interview they want me to program in PHP
>tell them I don't know any
>they give me the job anyway because I'm not a moron
>tell me I can just learn on the job
How fucked am I?
>>54989347
php is easy.