[ / / / / / / / / / / / / / ] [ dir / random / 93 / biohzrd / hkacade / hkpnd / tct / utd / uy / yebalnia ]

/prog/ - Programming

Programming

Name
Email
Subject
REC
STOP
Comment *
File
Password (Randomized for file and post deletion; you may also set your own.)
Archive
* = required field[▶Show post options & limits]
Confused? See the FAQ.
Options

Allowed file types:jpg, jpeg, gif, png, webp,webm, mp4, mov
Max filesize is16 MB.
Max image dimensions are15000 x15000.
You may upload5 per post.


File: 1441181852069.jpg (66.74 KB,573x459,191:153,heart.jpg)

5ff8c9 No.3182 [View All]

>C without pointers

>Haskell without monads

>Java without exceptions

>Python without whitespace

33 posts and 3 image replies omitted. Click [Open thread] to view. ____________________________
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

5ff8c9 No.3724

>C without fallthrough

>C++ without switch statements

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

5ff8c9 No.3949

>>3182

I'm new to assembly but couldn't you get by doing something like


sub dest, dest
add source, dest

Or are there other implications I'm missing beyond the code becoming painful to read, write, and execute as a finished project?

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

5ff8c9 No.3974

English without vowels.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

5ff8c9 No.3975

java

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

5ff8c9 No.3976

>>3949

That will subtract dest from itself, and store 0 in the location of dest.

Then it adds dest (which is 0) to source, doing nothing.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

5ff8c9 No.3986

>any functional language

>no tail recursion

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

5ff8c9 No.4001

>>3974

>Nglsh wtht vwls

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

5ff8c9 No.4005

>>3184

>goto

Just use while loops, you fucking newfag.

>if statements

They're called conditionals, and they're not required.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

5ff8c9 No.4006

>>4005

>>3184

Me again, here are some while-loop pseudo-conditionals.


#include "stdio.h"
main(void) {
int x=1;while(x<101) {
while (x%3==0) {
printf("Fizz"); break;
}
while (x%5==0) {
printf("Buzz"); break;
}
while (x%3 && x%5) {
printf("%d", x); break;
}
printf("\n");
x++;}
}

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

5ff8c9 No.4018

>>4006

>that indentation style

are you a wizard or an idiot?

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

5ff8c9 No.4116

Perl with bronies :^)

It's already too late

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

5ff8c9 No.4130

>>3559

>C++ without classes

Nothing wrong with it

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

5ff8c9 No.4135

>>3559

>C++ without classes

C# without classes :^)

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

5ff8c9 No.4183

Go with { on its own line.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

5ff8c9 No.4200

php, ruby or javascript without bad programers

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

5ff8c9 No.4254

>>3182

any lisp dialect without prefix notation

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

5ff8c9 No.4323

Java without libraries.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

5ff8c9 No.4324

python with braces

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

5ff8c9 No.4328

Smalltalk without messages

Swift without Apple

PostScript without graphics

(M)MIX without TAOCP

awk/sed without streams

sh without fork()

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

5ff8c9 No.4334

Erlang without strings

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

5ff8c9 No.4335

>>4135

Who needs classes anyway? Also, OOP sucks. :P

>>3516

>How are you supposed to implement if statements with gotos?

address = ass * dick + cock

goto (void*)address

something like that, I guess

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

5ff8c9 No.4339

>>4324

Python/Lua/Ruby with braces and semicolons

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

5ff8c9 No.4351

>>3182

Java is a fucked up language in itself. No need to remove the exceptions.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

5ff8c9 No.4361

>>4335

what if you use a value other than 1 as 'true'?

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

5ff8c9 No.4364

>>3182

>C++ without addition

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

5ff8c9 No.4388

>>4364

double add(double a, double b) {
return a - -b;
}

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

5ff8c9 No.4401

Perl without RegExps

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

5ff8c9 No.4442

>>3184

Well, use the lambda calculus then. Its most basic form consists only of symbols, unary functions and function application. This is sufficient for Turing-completeness.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

5ff8c9 No.4449

MSM without Skypes

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

5ff8c9 No.4452

>>4388

Should I remind you that subtraction is really just addition, and negating a number is either multiplying it by -1 (inefficient) or subtraction from 0 (which is addition)?

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

5ff8c9 No.4454

>>4452

> Should I remind you that subtraction is really just addition, and negating a number is either multiplying it by -1 (inefficient) or subtraction from 0 (which is addition)?

In practice, negating a number is usually a bit twiddle then an increment (as negatives are almost always stored and operated upon in two's complement in general use). A multiply is never necessary for negation.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

5ff8c9 No.4587

lisp without metaprogramming

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

5ff8c9 No.4599

English without "nigger".

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

5ff8c9 No.4605

Programmer without search engines

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

5ff8c9 No.4622

C without generics.

C without Exception Handling.

C without operator overloading.

C without dangling pointers.

Oh wait

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

dd20fe No.5279

>>3182

Python without stdlib

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

cdd941 No.5281

>>5279

It's been two years nigger, this thread is dead.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

92b0d8 No.5282

>>3986

welcome to rust

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

cb01ff No.5283

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

ba339b No.5292

All language's have pointers. Even if A language doesn't expose you to the pointer.

You just hate pointers because you refuse to understand how memory works low level. DUMB ASS HOE

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

b13cd9 No.5309

>python without list comprehension or list slicing

it would be so annoying

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

7ac303 No.5424

>>3559

>thinks C++ is C with classes

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

6b6a35 No.5441

>>3287

>>3351

>>3628

Lisp in general

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

1f4ebf No.5455

>>3351

The latter would be Logo or Rebol, which work pretty well except that you need to remember the functions' arity.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

b1b25b No.5478

>believing monads is a language feature

fuck of pseudo-funcitonal haskell hipster

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

f415bd No.5492

>>4361

!!value

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

9d8d81 No.5493

>>3628

Yeah it has although the name eludes me.

>RPN Lisp

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

000000 No.5495

Haskell without currying

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

422155 No.5496

File: 18b5a3e98d74269⋯.jpg (35.12 KB,640x459,640:459,e1.jpg)

>Lisp without cons cells,lambdas and macros

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

662804 No.5497

low hanging fruit: java without semicolons

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.



[Return][Go to top][Catalog][Nerve Center][Random][Post a Reply]
Delete Post [ ]
[]
[ / / / / / / / / / / / / / ] [ dir / random / 93 / biohzrd / hkacade / hkpnd / tct / utd / uy / yebalnia ]