[711chan]  -  [WT]  [Home] [Manage]

[Return]
Posting mode: Reply
Name
Email
Subject   (reply to 429)
Message
File
Password  (for post and file deletion)
  • Supported file types are: GIF, JPG, PNG
  • Maximum file size allowed is 1000 KB.
  • Images greater than 200x200 pixels will be thumbnailed.
  • Currently 283 unique user posts. View catalog

  • Blotter updated: 2010-01-06 Show/Hide Show All

we need $20/mo

File 127982462712.jpg - (7.62KB , 184x184 , 1279739715373.jpg )
429 No. 429
You know what I really hate? C++. Im pretty detached to BASIC style languages. The syntax is not the problem. I can easily write simple console programs with C++. But sometimes, when programming with my BASIC style languages, I need more speed/no dependencies/something. And Im like "ok, Im gonna try to write this in C++. I cant be that hard.". Then I start wondering, how to make sockets/http requests/something else. I google it. I get 200 lines of code. And with my BASIC, the original http get code is 4 lines. WTF CANT THEY MAKE BETTER C++?!? LIKE MAKE SOMEKIND OF LIBRARIES TO SQUEEZE THAT 200 LINES IN TO >20 LINES OF CODE?? WHO INVENTED C++? WELL TELL HIM THAT HIS LANGUAGE SUCKS!
Expand all images
>> No. 432
Bjarne Stroustrup made it...
>> No. 436
File 128000389243.jpg - (100.83KB , 450x600 , Army-Green-Lycra-Spandex-Unisex-Zentai-Suit-2933-1.jpg )
436
>>429
C++ isn't necesarily a language you want to use for everything.

It's hard to write but in industry its good -because its fast as fuck and it allows doing basically everything that you'd do in low level programming language and thats all what matters.

If these things wouldn't matter, barely anyone would use that language.



TL;DR: It takes more long to write crap in c++, but its worth of it when making large programs.
>> No. 437
Even the syntax is a problem. It is one of the hardest syntaxes in the world to parse. So it is probably not easy for human minds either.

And that horrible type system. Answer this simple question, what is the type of this:

int bla[1][2]..[n];

Dunno? Most people dunno. On forums you get the advice to use a vector, so you can avoid the whole issue.

It is not that difficult, btw: int (*)[2]..[n]

But that wasn't the point. Oh well at least it has a type system. Disregard that, I suck cocks.
>> No. 438
When I want something faster than scripting languages, I chose:

Dylan, quacks like python, looks like python, so it is python:
http://its.goofyti.me/u/http://wiki.opendylan.org/wiki/view.dsp?title=Dylan%20Performance

Or if you want to stay with a (subset of the) syntax of C++,
D:
http://its.goofyti.me/u/http://www.digitalmars.com/d/2.0/safed.html

Or haskell if you like mathematics and want to prototype something really fast:
http://its.goofyti.me/u/http://www.haskell.org

All these languages come with a garbage collector and ways to include c code into your project.


Delete post []
Password  
Report post
Reason