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

SCRIPTING LANGUAGES g-chan die and suki my diki

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 11
Thread images: 2

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


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

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
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.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.