[–]▶ 5ff8c9 (36) No.3182 [View All]>>3949 >>4254 >>4351 >>4364 >>5279 [Watch Thread][Show All Posts]
>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 (36) 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 (36) No.3949>>3976
>>3182 (OP)
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 (36) No.3974>>4001
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 (36) No.3975
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 (36) 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 (36) No.3986>>5282
>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 (36) No.4001
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 (36) No.4005>>4006
>>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 (36) No.4006>>4018
>>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 (36) 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 (36) 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 (36) 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 (36) No.4135>>4335
>>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 (36) 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 (36) 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 (36) No.4254
>>3182 (OP)
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 (36) No.4323
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 (36) No.4324>>4339
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 (36) 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 (36) No.4334
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 (36) No.4335>>4361
>>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 (36) 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 (36) No.4351
>>3182 (OP)
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 (36) No.4361>>5492
>>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 (36) No.4364>>4388
>>3182 (OP)
>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 (36) No.4388>>4452
>>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 (36) No.4401
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 (36) 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 (36) No.4449
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 (36) No.4452>>4454
>>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 (36) 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 (36) 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 (36) 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 (36) 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 (36) 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 (1) No.5279>>5281
>>3182 (OP)
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 (1) 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 (1) No.5282
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 (1) 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 (1) 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 (1) 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 (1) 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 (1) No.5441
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 (1) 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 (1) 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 (1) No.5492
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 (1) 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 (1) No.5495
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 (1) No.5496
>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 (1) 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.