[ home / board list / faq / random / create / bans / search / manage / irc ] [ ]

/prog/ - Programming

Programming board

Catalog

Name
Email
Subject
Comment *
File
* = required field[▶ Show post options & limits]
Confused? See the FAQ.
Embed
(replaces files and can be used instead)
Options
Password (For file and post deletion.)

Allowed file types:jpg, jpeg, gif, png, webm, mp4, pdf
Max filesize is 8 MB.
Max image dimensions are 10000 x 10000.
You may upload 1 per post.


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

80c2ea No.3182

>C without pointers

>Haskell without monads

>Java without exceptions

>Python without whitespace

4e091c No.3183

>JS without containers full of dicks, frameworks and languages to compile into it

>JS without WebAssembly instead in the future


a98179 No.3184

Go full Gosling. Remove everything you can without limiting the language as "syntactic sugar". Subtract? Nah nigga you could have done that in terms of add. Compound equality tests? Nope, sugar. Any type of loop? Why, when you have goto? "if" statements? Unnecessary when you have goto.


c2b978 No.3189

Scheme without λ


3fbad3 No.3253

xml without tags


5e5765 No.3255

>>3184

>Using GOTO that much


62e32a No.3272

GDscript without inheritance


6a5cf0 No.3273

>>3272

TorqueScript without strings.


e1de0a No.3275

Fortran without arrays


4aa812 No.3285

>go


692e54 No.3287

Lisp without cons


f9a1ce No.3294

PHP without a web server


bc00be No.3295

ruby withouth blocks


684151 No.3296

Coffeescript without unreadable syntax


684151 No.3297

Haskell without recursion


cedce8 No.3304

File: 1443681631842.png (72.95 KB, 2048x1024, 2:1, 1435268140479.png)

Rust without trait bounds.


a0ec58 No.3351

>>3287

lisp without repl

lisp without parentheses


8ca285 No.3363

>>3351

parenthesis*


611a34 No.3368

x86 without a stack.


3b307a No.3414

>Rust without memory safety

99% of Rust codebases will be wrapped in unsafe { … once it hits production use


c7e4aa No.3422

>>3295

!!!!!

truly horrible


589f27 No.3483

>>3297

It's possible to implement recursion non-recursively using combinators (e.g. http://stackoverflow.com/a/5885270/2884483). Removing the ability for functions to take functions as arguments would cripple the language a lot more.


000000 No.3485

>>3182

>>Python without whitespace

Whitespace without whitespace


5baf9d No.3499

RISC without user registers


08721a No.3516

>>3184

How are you supposed to implement if statements with gotos? You at least need je, jg, and jl to use any program.

also tbh any language other than D


283060 No.3519

Machine code without machines


d9a33b No.3552

>>3182

Brainfuck without minimalism

:^) Fucking plebs (^:


764b5b No.3559

File: 1447021407877.jpg (52.93 KB, 497x500, 497:500, 1426651142984.jpg)

x86 assembly without MOV

C++ without classes

Perl without regexp


19a7d2 No.3628

Lisp without macros.

>>3351

>lisp without parentheses

That's actually been done before but I can't find it right now. It's not actually terrible, but it seems pointless to me.


fec6d5 No.3645


50f5f0 No.3646

PHP without dollar signs


180f53 No.3653

File: 1448731269350.png (72.95 KB, 2048x1024, 2:1, aids.png)

Rust without anonymous SJW homosex.


f1f327 No.3666

PHP


5b8d8f No.3693

Python without FFI

Python without import


560dfe No.3724

>C without fallthrough

>C++ without switch statements


326c77 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?


671c1c No.3974

English without vowels.


ef99f6 No.3975

java


162e6e 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.


d52f83 No.3986

>any functional language

>no tail recursion


80c2ea No.4001

>>3974

>Nglsh wtht vwls


653c50 No.4005

>>3184

>goto

Just use while loops, you fucking newfag.

>if statements

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


653c50 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++;}
}


1aee25 No.4018

>>4006

>that indentation style

are you a wizard or an idiot?




[Return][Go to top][Catalog][Post a Reply]
Delete Post [ ]
[]
[ home / board list / faq / random / create / bans / search / manage / irc ] [ ]