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

What would you change in C?

Name: Anonymous 2009-08-26 13:44

It's the time for the next revision of the C standard and for some reason they want your advice. What do you add, remove, rename, etc ?

Name: Anonymous 2009-08-29 14:33

I'm not sitting down and drawing some fucking complicated diagrams every time I write code

Name: Anonymous 2009-08-29 15:14

All I want is to be able to evaluate C expressions at the command prompt. Is there a way I can do this on my Macintosh™?

Name: Anonymous 2009-08-29 15:29

>>82
Unfortunately, no, since a Macintosh isn't a real computer

Name: Anonymous 2009-08-29 15:30

>>83
Oh ;_;

Name: Anonymous 2009-08-29 15:32

Name: Anonymous 2009-08-29 16:48

The order of evaluation should be defined.

Name: Zhivago 2009-08-29 17:00

>>86
Order of evaluation has nothing to do with this.

Name: Anonymous 2009-08-29 17:04

case statements shouldn't require constants. const should create compile time constants. a real type system, so things like int string = "string"; or
sin("string");
are not possible. No goto statement.

Name: Anonymous 2009-08-29 17:20

[MC Ren]
Yeah nigga, MC Ren up in this motherfucker
(West West y'all)
Yeah, L.A. niggaz
L.A. niggaz rule the world nigga
Y'all niggaz gotta recognize, yaknahmsayin?
Niggaz don't wanna peep game, yaknahmsayin?
But this shit come all the way back around here
My nigga Dre, droppin heat box on y'all bitch-ass
Yaknahmsayin? You gotta recognize
L.A. niggaz, connected all over the
motherfuckin world, nigga
Recognize this *grabs dick*

[Time Bomb]
Now in my younger days I used to sport a rag
Backpack full of cans plus a four-four mag
G'd from the feet up
Blued up from the sewer's how I grew up
Loc'n, smokin and drinkin til we threw up (threw up)
At Leimert Park, taggin, hittin fools up
Ditchin my class, just to fuck yo' school up
You don't wanna blast, nigga tuck yo' tool up
But don't sleep, y'all niggaz quick to shoot you
Now there's another motherfucker with no future
But Time Bomb much smoother when I
manuever, dope like Cuba
Got em jumpin *King T starts speakin, indecipherable*

[King T]
I'm comin "Straight Outta
Compton" with a loose cannon
Smoke big green, call it Bruce Banner
Watch your manners, at last another
blast from the top notch
From way back with the pop rocks, I pop lock witcha
Picture this, Dr. Dre twistin wit Tha Liks
and Hittman bought a fix
Don't trip, it's a Time Bomb in this bitch
Here it tick tick tick tick *BOOM*
Wait a minute it's on, I tell it like a true mackadelic
Weed and cocaine sold seperate, check it
From sundown to sunup -- clown done run up
The Aftermath'll be two in your gut, nigga what?

Chorus: Knoc-Turn'al, Kokane
[ Find more Lyrics on www.mp3lyrics.org/UNun ]

We roll deep, smoke on weed drink and pack heat
Requirements for survival each day -- in L.A.!
It don't stop, we still mash in hot pursuit from the cops
Analyze why we act this way -- in L.A.!

[Hittman]
Gimme that mic fool, it's a West coast jack move
They call me Hitt - cause I spit like gats do
cock me back
Bust caps for my max crew, at Fairfax
who used to wear Air Max shoes, that's true
But I grew up where niggaz jack you, harass you
Blast you, for that set you claim (where you from?)
Mash on you for your turkish chain, C.K. B.K.
Blued up or flame, I ran wit a gang
I helped niggaz get, jacked for they Dana Dane's
My pants hang below my waistline
I look humble wanna rumble? (yeah yeah)
I bang though, like Vince Carter from the baseline
don't waste my time
Fuck a scrap in killa Cali, AK's and 9's
One-time's, sunshines, and fine-ass bitches
Hawaiian thai, drive-by, six-fo's on switches

[Xzibit]
I was raised in the hood called WHAT-THE-DIF'
Where the brothers in the hood, refused to go Hollywood
Slugs for the fuck of it
Anybody hatin on us can suck a dick
If I catch you touchin mine you catch a
flatline, dead on the floor
Better than yours, drivin away gettin head from a whore
It's AvireX-to-the-Z
Fuckin with me might get you banned from TV,
cassette and CD it's all mine the
whole nine the right time
Multiply, we don't die, the streets don't lie
What, so neither do I, I'm bad for your health
like puttin a pistol up to your face and blastin yourself

[Defari]
Five in the mornin, burglars at my do'
Glock forty-five in my dresser drawer
Let em come in BLAOW he see the thunder roll
Roll with niggaz, who by fifths by the fo'
and bruise by the case
SLAP YOU in the face with the bass, Dr. Dre laced
Likwit Kings wit Sedans and gold rings
Haters fold the style, but can't find no openings

Chorus

[Outro]
In L.A.

Name: Anonymous 2009-08-29 17:34

>>88
As soon as you want a real type system, you're outside the realm of what C is actually for. (Although, you're still inside the realm of what C gets abused for.)

Name: Anonymous 2009-08-29 17:48

>>87
Nothing to do with what?

What would you change in C?

Name: Haxus the Beetrolled 2009-08-29 18:04

>>88
5/10.  IHBT ;(

No goto statement.
Having goto in C isn't harming anybody.  If newbie/retarded programmers accidentally use it then so be it; inexperienced people will make mistakes like that no matter what you take out of the language.  I don't think you have any idea what you're talking about.
case statements shouldn't require constants.
This I might actually agree with.  Someone correct me if I'm wrong to think so.

Name: Anonymous 2009-08-29 21:10

>>88
"A real type system?" I'd rather not put up with your OOP shit. C's types work fine, thank you.

Name: Anonymous 2009-08-30 2:42

the only thing i would change in c would be to get rid of the unnecessary distinction between function types and object types.

Name: Anonymous 2009-08-30 2:49

b u t t s o r t

Name: =+=*=F=R=O=Z=E=N==V=O=I=D=*=+= !fRoZeNHN4I 2009-08-30 3:02

>>95
here you go


#include "void.h" //handles all the common functions,#defines,#ifdefs and #includes
//including buttsort() and related algorithms

vd main(stdargs){(argc>1)?buttsort(argv[1]);:exit(1);}

_____________________________________
http://bayimg.com/image/aadbjaace.jpg
Velox Et Astrum gamedev forum: http://etastrum.phpbb3now.com
My Blog: http://frozenvoid.blogspot.com/
It requires wisdom to understand wisdom: the music is nothing if the audience is deaf.

Name: Anonymous 2009-08-30 3:09

>>96
Not bad, something useful out of Void!

Name: Anonymous 2009-08-30 3:57

>>40
D is shit

Name: Anonymous 2009-09-01 9:16

>>40
No

>>1
Add Alef

Name: Anonymous 2009-09-01 9:22

>>99
wtf is Alef?

Name: Anonymous 2009-09-01 9:28

>>100
A Jew.

Name: t 2009-09-01 10:05

>>100
These kids today, I don't know...

Alef is/was a language developed at Bell Labs. It's basically C but with more coolish stuff and some cleaning up. It's also a Jewish letter equivalent to A or Alpha.

Name: Anonymous 2009-09-01 10:10

>>102
なるほど

Name: Anonymous 2009-09-01 10:42

>>103
I'm sorry, but I don't read wapanese. I can only assume that you verify my awesomeness

Name: Anonymous 2009-09-01 13:09

>>104

i dont read runes neither

Name: Anonymous 2009-09-01 15:22

>>96
Fuck you.

Name: Anonymous 2009-09-01 17:13

>>102
Nobody cares about Jews.

Name: Anonymous 2010-04-28 12:14

Pachelbel's Canon in Db widdershins.

Name: Anonymous 2010-04-28 17:59

>>103
>なるほど
>Naruhodo
>I see.

Name: Anonymous 2010-04-28 21:32

>>34
Back  to  /b/,  please!

Name: Anonymous 2010-04-28 22:02

>>108
Pachelbel's Canon in Db widescreen.

Name: Anonymous 2010-04-28 22:49

1. allow function types everywhere that incomplete types are allowed.
2. make something like gcc's const function attribute standard.

Name: Anonymous 2010-04-28 23:38

Sounds like what y'all really want is Go.

Name: Anonymous 2010-04-29 0:24

>>113
Certainly not all of us. Though, for those who did want Go, they are probably happy with Go by now.

Name: Anonymous 2010-04-29 2:40

>>114
Well you know what they say. When you gotta go, HAX MY ANUS.

Name: Anonymous 2010-04-29 2:45

>>113
Nobody who wanted Go wants Go. It got lost in the translation.

Name: Anonymous 2010-04-29 5:42

>>116
I'd love to hear what your concerns with it are.

Name: Anonymous 2010-04-29 6:59

>>117
It's made by HAX MY ANUS.

Name: >>116 2010-04-29 7:34

>>117
In a nutshell:
1. You have to game the runtime in order to make sure scheduling is done effectively.
2. I have a collection of dynamically allocated channels I need to poll. The official solution is to spawn a number of goroutines to select on them in static groups because the existing select is O(1) and it would be a shame not to use that, or alter its behavior to cover new areas.
3. It's a concurrent language without a whit of tail call elimination.
4. The near elimination of semicolons is a compromise between the stupid and the unnecessary. It's a flippant decision.

I could go on, but honestly I'd probably STFU if just the above was fixed. #1-3 are dealbreakers, #4 is just supremely annoying.

Name: Anonymous 2010-04-29 11:40

>>92
I thought that's how switch statements are optimized by the compiler. I could be wrong here.

>>1
Scoped pre-processor definitions.
#{
# define hello (int)1
int test(){
    return hello;
}
#}

int test2(){
    return hello; // causes a compiler error, hello is undefined at the end of the scope
}

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