[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
SCRIPTING LANGUAGES g-chan die and suki my diki
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 11
Thread images: 2
File: 1443537615476.gif (245 KB, 500x500) Image search: [Google]
1443537615476.gif
245 KB, 500x500
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.
>>
File: Vikta.jpg (88 KB, 2048x1152) Image search: [Google]
Vikta.jpg
88 KB, 2048x1152
>>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.
Thread replies: 11
Thread images: 2

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.