Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

C++17 suggestions

Name: Anonymous 2015-02-26 6:45

The standard pointer\reference notation should be depreciated. Language changes: The new way will be fashioned after templates. There is only pointer<T>, and optimization of how it is treated is left to the compiler.

Library additions: A full featured non-axiomatic set theory library. The standard operations of union, intersect, power set, are all implemented of in an unordered container, and can handle comprehensions and infinite lists. Also contains functions for Cantor's method of coding to determine countability, and checking the injectiveness and bijectiveness of mappings between two sets (possibly done at compile time). Also, that cocksucker Russell can keep his fucking types and classes, these sets can eat themselves.

Name: Anonymous 2015-02-26 7:40

Concepts were cool. Why the standards dicks removed them?

Name: Anonymous 2015-02-26 8:04

THIS IS A PROGRAMMING BBS FOR ONLY NON-SHIT LANGAUGES (C AND LISP)

Name: Anonymous 2015-02-26 8:55

>>3
What about haskell and ruby?

Name: Anonymous 2015-02-26 14:41

THIS IS A PROGRAMMING BBS FOR ONLY NON-SHIT LANGAUGES (C AND LISP)

Name: Anonymous 2015-02-26 14:47

>>5
But what about haskell and ruby?

Name: Anonymous 2015-02-26 16:14

>>3,5
Back to /g/, brat.

Name: Anonymous 2015-02-26 16:24

Not enough static

Name: Anonymous 2015-02-26 16:36

Fuck Haskell and Ruby. C/C++/LISP master race master race.

Name: Anonymous 2015-02-26 17:20

>>7
I thought I was!

Name: Anonymous 2015-02-26 17:21

also checkem

Name: Anonymous 2015-02-27 4:44

My suggestion would be to make it a true superset of C and remove 90% of the garbage like multiple inheritance, overloading, exceptions, virtual functions, etc. Templates and simple classes are good, stick with that.

Name: Anonymous 2015-02-27 12:35

>>12
Rust. You're thinking of Rust. That is the name of the language you're describing.

Well, okay, except for C compatibility. The syntax is a little different and the semantics allow for a lot less undefined behavior.

Name: Anonymous 2015-02-27 18:08

>>13
C ABI compatability.

Name: Anonymous 2015-02-27 18:08

>>3
C and Lisp are shit, too.

Besides, Haskell is better than C. Although it's shit too.

Name: Anonymous 2015-02-27 18:11

>>15
Programming: A world of compromises

Name: Anonymous 2015-02-27 18:59

>>14
Actually, it does have ABI compatibility. You can even write libs in Rust that can safely be used in a C program, which is not a feature most languages are able to have. But you can't just throw C code at a Rust compiler like you can in C++.

Name: Anonymous 2015-02-27 19:05

>>17
I assumed it would have ABI compatibility, what with going through LLVM.
Source-level compatibility with any other language is a pointless endeavour anyway, if the semantics are going to be different.

Name: Anonymous 2015-02-27 21:31

>>13
undefined behavior
But this is the essence of C. Without it, you can't have a truly fast language, because the compiler is constrained in what optimizations it's able to perform by the myopic language design.

Name: Anonymous 2015-02-27 21:43

>>19
You're right. No wonder all those C programs that never trigger UB are so slow.

Name: Anonymous 2015-02-27 23:36

Scrap it all. Standardize a Common Lisp with C syntax.

Name: Anonymous 2015-02-28 1:40

DUBS

Name: Anonymous 2015-02-28 2:05

The problem with >>19 is UB is often treated as an excuse for the optimizer to choose incorrect behaviour. Right and fast is better than wrong and faster.

Name: Anonymous 2015-02-28 2:13

>>19,20
Undefined behavior is nothing more than the exalted laziness of the language designers. It is more straightforward for both programmers and machine optimizers if don't-care cases are explicitly annotated, rather than inferred as is done in C.

Name: Anonymous 2015-02-28 3:53

>>24
They are explicitly annotated in C - that's precisely what every " ... results in undefined behavior" are.

Name: Anonymous 2015-02-28 4:04

>>25
Ahh, that reminds me of the exact thing that Sepples17 needs. Annotations! Just like Java! No more will we be confused when we override a method function from the super-super-super-super-super-class when errors are thrown without @override. Another thing could be mandatory exception handling. Don't have twenty exception handlers for everything that can go wrong with std::cout? You get that sweet, sweet five-hundred-line compile error barf that only C++ can give.

Name: Anonymous 2015-02-28 4:10

>>25
You can't see "undefined behaviour" when you look at the code only when it leads to bugs. It not obvious unless you carefully apply the standard to every line of code(i.e. hours of checks) and then you discover the compiler has a second opinion which is at odds with standard.

Name: >>24 2015-02-28 7:42

>>26
I suppose I should have said qualified instead of annotated to avoid triggering you. Think in terms of things like const or restrict, where the language allows you to explicitly tell the compiler to assume certain invariants that permit it to generate better code. If you omit the qualifiers, your code will still be correct.

Name: Anonymous 2015-02-28 11:38

>>24
>>20 was mocking >>19

Name: Anonymous 2015-03-03 15:32

What C++17 really needs is some standard function to check dubs

like
#include <dubs>
std::is_dubs(s)
std::cout << std::check_em(dubs) << std::endl;

and so on

Name: Anonymous 2015-03-04 18:09

>>30
What C++17 really needs is another std inside of the std so you can std::<std::> while you std::<std::<std::>>.

Name: Anonymous 2015-03-05 6:22

Why are most ``abstractions'' and abstract this and that so useless and shitty? See, even abstract art is rightfully considered shit:

Abstract Art

adj. A politically correct euphemism for terribad.

noun. An admission of intellectual impotence.

Music is not abstract art as it is arranged into a sequence. You do not simply button mash a piano.
1. a) John's art was terribad.

1. b) John likes to paint abstract art.

2. a) I suck at art.

2. b) I'm exploring abstract art.

Why are programming-related abstractions not recognized as shit by the programming community?

Name: Anonymous 2015-03-05 7:13

>>32
Because if reusability, abstractions save time to reinvent elegant wheels.

Name: Anonymous 2015-03-05 7:28

>>33
teribad
complete inability to understand or appeciate abstract art
How did this edgy teenager end up on prog? I hope this guy is just playing a character, right?

Name: Anonymous 2015-03-05 8:30

>>34
abstract art
atheist bullshit, hippie ooga booga, pseduo-intellectual, cia.

Name: Anonymous 2015-03-05 8:38

>>35
oh and french

Name: Anonymous 2015-03-05 9:00

>>34
Whom are you quoting?

Name: Anonymous 2015-03-05 15:27

>>37
Albert Dubstein

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List