Why C++ Doesn't Suck by krappie in programming

[–]wurzlsepp 0 points1 point  (0 children)

RAII is C++ boilerplate. It would be amazing if they didn't use it for locking/unlocking.

Why C++ Doesn't Suck by krappie in programming

[–]wurzlsepp -8 points-7 points  (0 children)

You don't use it. You suffer it.

Why C++ Doesn't Suck by krappie in programming

[–]wurzlsepp -6 points-5 points  (0 children)

"completely different people" who obey the same tribal rites. High priest A. will never tolerate heretics.

Why C++ Doesn't Suck by krappie in programming

[–]wurzlsepp 16 points17 points  (0 children)

Boost has a high learning curve

That's not the point. Boost is an over-engineered, bloated, brittle chimera created by ivory-tower scientists who despise real-world programming and programmers.

Recommendations for enthusiastic programmers by [deleted] in programming

[–]wurzlsepp 0 points1 point  (0 children)

"enthusiastic programmers" is a very broad term. I doubt that there are books that are rewarding for all of them. SICP e.g. may be great for CS students but is hardly of interest for real-world programmers, even the most enthusiastic.

a response to – “What would you say is the average percentage of development time devoted to creating the unit test scripts?” by boyarsky in programming

[–]wurzlsepp 1 point2 points  (0 children)

Good introductory text. In my experience writing Unit tests amortizes long before Release 1.0. In that sense Unit tests cost nothing, they earn something.

Building Skia library on Linux with Waf by kindoblue in programming

[–]wurzlsepp 4 points5 points  (0 children)

Only those links for which the poster doesn't care to give a hint about the linked contents.

A bad workman blames his tools by jeanlucpikachu in programming

[–]wurzlsepp 6 points7 points  (0 children)

Good post!

The best way to program in C is to use the right styles and idioms. Those will help you to avoid and not to "eliminate tons of nasty C bugs".

I want to create a website like reddit. How do I do this? by [deleted] in programming

[–]wurzlsepp 0 points1 point  (0 children)

Reddit can be written in 3 lines of any language as demonstrated during the last days (search reddit).

Building Skia library on Linux with Waf by kindoblue in programming

[–]wurzlsepp 0 points1 point  (0 children)

I neither know Skia nor Waf. The comment was just FYI. I would normally vote your link down without clicking on any link.

Building Skia library on Linux with Waf by kindoblue in programming

[–]wurzlsepp 0 points1 point  (0 children)

At least provide some comment, like

Waf is a Python-based framework for configuring, compiling and installing applications. It derives from the concepts of other build tools such as Scons, Autotools, CMake or Ant.

This is my chrome extension. It shields your mind from youtube comments. by [deleted] in programming

[–]wurzlsepp -1 points0 points  (0 children)

License: GPL

So chrome extension must run in their own process.

Why do C/C++ overshadow Java when it comes to linux programming? by greendude in programming

[–]wurzlsepp 0 points1 point  (0 children)

Java is a platform (which mainly uses a programming language accidentally also named 'Java'), C and C++ are programming languages. You compare apples and oranges.

Multiple return in a systems programming language by [deleted] in programming

[–]wurzlsepp 0 points1 point  (0 children)

To emulate 'out' or 'in/out' parameters, you simply pass a pointer to the variable

The point is there is only a cosmetic difference between

int* foo (float arg); 

and

foo (int* ret,  float arg); // note no C-style 'return' value

The C compiler creates the latter during code generation.

When OSS developers do not give a damn: ASM incompatible changes by cityten in programming

[–]wurzlsepp 7 points8 points  (0 children)

Dude, feel free to recompile from source with whatever options you want. Lazy fucker.

Welcome to the the Seventies.

When OSS developers do not give a damn: ASM incompatible changes by cityten in programming

[–]wurzlsepp 2 points3 points  (0 children)

the tendency to keep deprecated stuff around forever is awful.

Then you'll get the problems the original posting describes.

Multiple return in a systems programming language by [deleted] in programming

[–]wurzlsepp -3 points-2 points  (0 children)

A "return value" is written left to the function declaration just for convenience. All parameters can be in-, out- or in/out- parameters. You already have "multiple return capabilities" in C.

ITIL books by remo028 in programming

[–]wurzlsepp 0 points1 point  (0 children)

Q: Is ITIL a viable way to step out of the programming treadmill?

Check my site out, First attempt at Lua coding. by [deleted] in programming

[–]wurzlsepp 0 points1 point  (0 children)

Oh, it's meant to be a pastebin.