[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
You should be able to figure out these
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: 26
Thread images: 4
File: 1444959479082.png (92 KB, 330x265) Image search: [Google]
1444959479082.png
92 KB, 330x265
Without googling, give me your best guess what these inbuilt core functions of a certain programming language do:
>terpri
>progn
>unwind-protect
>aref
>cdr
>dpb
>gcd
>lcm
>mapcar
>room
>>
>>55558928
                                                                                                                            I know Lisp has weird names. I hate most of them too. I think the worst one is "mapcan" which sounds like an attempt at a bad mapcar pun.
>>
>>55558928
No, because only crap programming languages styles use abbreviated names.
>>
>>55559531
This
>>
>>55558928
>>mapcar
Turns your computer into a Tesla, then crashes it into a tree.
>>
>>55558928
>terpri
Gives you three common STDs.
>>
File: 1328738317706.jpg (30 KB, 313x313) Image search: [Google]
1328738317706.jpg
30 KB, 313x313
>>55558928
>terpri
Summons a god of the steppe to help you with your code.

>progn
This prograns so you don't have to.

>unwind-protect
This puts everything on a single line, and then makes the file read only.

>aref
Prints an ASCII dog.

>cdr
That means you.

>dpb
These letters, and q, are all reflections/translations of eachother, which is interesting. Use this command to bemuse the end user.

>gcd
Shows your global cooldown as you write. Helps you micromanage the best time to hit the next key.

>lcm
Opens a new browser window to the London College of Music's homepage. The maker of the language was paid mad dosh to implement this plug.

>mapcar
Prints a engineering drawing of your car. If the user didn't specify their car's make and model, picks a random one from a database.

>room
Locks out the keyboard and mouse, places you in a 3DCG interrogation room with no windows. End user has to tell an interrogator all their bank details if they want to get out without restarting.
>>
>>55558928
>unwind-protect
Removes protection--so you can program dangerously!
>>
>>55559531
>
strlen, sqrt, mem(cpy|cmp|move), EOF, revc, mesg

>
new, delete, move, readline, list, vector, get, read


POTTERY
>>
File: room.png (2 MB, 1280x720) Image search: [Google]
room.png
2 MB, 1280x720
>>55558928
>room
>>
>>55558928
>cdr
An obsolete precursor to the dvdr command.
>>
>>55558928
>dpb
Daily Programming Bread.
The Church of Emacs prays for these.
>>
>>55558928
>aref
Checks if something equals "f". Useful!
>>
>>55559713
>POTTERY
I don't know this meme?

I'd argue the top line and a lot of C names falls under crap naming. Something like "strstr" does nothing to explain what it does
>>
>>55560110
>I don't know this meme?
Plinkett.
>>
>>55558928
>>terpri
Phones Pajeet Terpri from Hyderabad
>>
File: 1439142848277.jpg (62 KB, 1280x720) Image search: [Google]
1439142848277.jpg
62 KB, 1280x720
>>55559678
>>
>>55558928
Kill yourself
>>
>>55561987
>terpri
You forgot that part.
>>
Clojure has pretty good naming. Too bad everything else about it is terrible.
>>
>>55562131
Explain. I find it bredy gud, works with Java and doesn't afraid of anything, eh.
>>
>>55558928
>>terpri
?
>>progn
program something
>>unwind-protect
this is obvious
>>aref
like href but with an a?
>>cdr
tail of a linked list
>>dpb
?
>>gcd
greatest common divisor
>>lcm
least common multiplier
>>mapcar
maps onto cars of linked list
>>room
?
>>
>>55562581
>cars of linked list
I mean heads of singliy linked lists kek
>>
looks like common lisp
>>
>>55558928
I can only guess gcd
>>
>>55558928
>>room
A function to remember the user to rest every 20 min or so while typing. It runs a room escape point-and-click-like game that won't let you keep working until solved.

Accepts difficulty settings and frequency of appearance as arguments.
Thread replies: 26
Thread images: 4

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.