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

/prog/ - Programming

Programming
You can now write text to your AI-generated image at https://aiproto.com It is currently free to use for Proto members.

Name
Email
Subject
REC

0:00

Comment *
File
Select/drop/paste files here
Password (Randomized for file and post deletion; you may also set your own.)
Archive
* = required field[▶Show post options & limits]
Confused? See the FAQ.
Expand all images

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

[–]

5ff8c9 (69) No.3182 [Last50 Posts]>>3485 >>3552 >>3645 >>3949 >>4254 >>4351 >>4364 >>5279 [Watch Thread][Show All Posts]

>C without pointers

>Haskell without monads

>Java without exceptions

>Python without whitespace

____________________________
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 (69) No.3183

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

>JS without WebAssembly instead in the future

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 (69) No.3184>>3255 >>3516 >>4005 >>4006 >>4442

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.

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 (69) No.3189

Scheme without λ

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 (69) No.3253

xml without tags

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 (69) No.3255

>>3184

>Using GOTO that much

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 (69) No.3272>>3273

GDscript without inheritance

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 (69) No.3273

>>3272

TorqueScript 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 (69) No.3275

Fortran without arrays

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 (69) No.3285

>go

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 (69) No.3287>>3351 >>5441

Lisp without cons

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 (69) No.3294

PHP without a web server

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 (69) No.3295>>3422

ruby withouth blocks

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 (69) No.3296

Coffeescript without unreadable syntax

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 (69) No.3297>>3483

Haskell without 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 (69) No.3304

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

Rust without trait bounds.

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 (69) No.3351>>3363 >>3628 >>5441 >>5455

>>3287

lisp without repl

lisp without parentheses

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 (69) No.3363

>>3351

parenthesis*

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 (69) No.3368

x86 without a stack.

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 (69) No.3414

>Rust without memory safety

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

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 (69) No.3422

>>3295

!!!!!

truly horrible

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 (69) 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.

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 (69) No.3485

>>3182 (OP)

>>Python without whitespace

Whitespace without whitespace

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 (69) No.3499

RISC without user registers

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 (69) No.3516>>4335

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

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 (69) No.3519

Machine code without machines

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 (69) No.3552

>>3182 (OP)

Brainfuck without minimalism

:^) Fucking plebs (^:

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 (69) No.3559>>4130 >>4135 >>5283 >>5424

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

x86 assembly without MOV

C++ without classes

Perl without regexp

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 (69) No.3628>>5441 >>5493

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.

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 (69) No.3645

>>3182 (OP)

Haskell doesn't need monads: http://okmij.org/ftp/Haskell/extensible/

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 (69) No.3646

PHP without dollar signs

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 (69) No.3653

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

Rust without anonymous SJW homosex.

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 (69) No.3666

PHP

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 (69) No.3693

Python without FFI

Python without import

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 (69) 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 (69) 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 (69) No.3974>>4001

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 (69) 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 (69) 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 (69) 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 (69) 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 (69) 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 (69) 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 (69) 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 (69) 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 (69) 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 (69) 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 (69) 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 (69) 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 (69) 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 (69) 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 (69) No.4324>>4339

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 (69) 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 (69) 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 (69) 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 (69) 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 (69) 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 (69) 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 (69) 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 (69) 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 (69) 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 (69) 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 (69) 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 (69) 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 (69) 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 (69) 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 (69) 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 (69) 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 (69) 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

>>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 (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

>>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 (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

>>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 (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

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 (1) No.5496

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

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



[Return][Go to top][Catalog][Screencap][Nerve Center][Last50 Posts][Random][Update] ( Scroll to new posts) ( Auto) 5
83 replies | 4 images | 16 UIDs | Page 1
[Post a Reply]
[ / / / / / / / / / / / / / ] [ dir / random / 93 / biohzrd / hkacade / hkpnd / tct / utd / uy / yebalnia ][ watchlist ]