[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]

Who thought using the + operator for concatenation was a good idea?

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: 20
Thread images: 2

File: CrSMzb-WYAALMkq.jpg (33KB, 461x364px) Image search: [Google]
CrSMzb-WYAALMkq.jpg
33KB, 461x364px
Who thought using the + operator for concatenation was a good idea?
>>
>>57970832
What would be better?
>>
>>57970908
concat("fuck", "you");
>>
>>57970832
Someone with a better brain than who came up with PHP's design (str + str = 0)
>>
>>57970949
that's because php uses . as its concatenation operator........
>>
>>57970949
Dumbass
>>
>>57970832
dumb mcchickenposter
>>
>>57970908
Most good languages use ampersands.

"fuck" & "you"
>>
>>57970925
"fuckyou"

huh
>>
>>57970832
for me it is the mcchicken the best fast food sandwich
>>
>>57970832
>tfw mcchicken is no longer $1
>>
>>57970925
that would spell fuckyou goddamn youre retarted
>>
File: 1435194745803.jpg (42KB, 669x746px) Image search: [Google]
1435194745803.jpg
42KB, 669x746px
>>57971623
Yeah, we know.
>>
>>57971308
With the rate the US dollar is losing it's value getting a mcchicken will soon cost you like $20.

Trump the economic clown isn't gonna help the situation much either.
>>
>>57970908
Haskell uses ++. It's also an infix operator so you can do something like

 (++) "hello" "world" 
>>
>>57970925
>all those unnecessary characters

"absolutely " + "disgusting"
>>
>>57971175
I've never seen a language that does this. Though I don't claim to be very experienced (I've used C, Java, Python, Lua, JS, and PHP)
>>
>>57971681
>implying muh 15 dollar for flipping a burger would help any
>>
>>57970832
seems like a good idea to me. it makes sense. string1+string2=string1string2. that's how strings work
>>
>>57973153
Now you just get like $6 for flipping burgers while guys like trump makes a fortune off you and gets tax cuts for being such good bloodsuckers.
Thread posts: 20
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.