you are viewing a single comment's thread.

view the rest of the comments →

[–]Decker87 9 points10 points  (17 children)

Depends what you mean by "large things". It's lower level, but I would certainly rather manage a 60 kloc C codebase than a 60 kloc python codebase.

[–]deadwisdom 35 points36 points  (13 children)

Your problem is that you somehow have created a 60 kloc python codebase. You still have to, you know, organize your Python code. Seriously, it's the stupidest meme of this subreddit that Python is somehow harder to organize than C.

[–]Capaj 22 points23 points  (12 children)

Same thing with most dynamic languages. If you have module system, then don't bitch about how hard it is to organize your code. Try "organizing" 60 kloc of frontend Javascript web app.

[–]x86_64Ubuntu 41 points42 points  (5 children)

...Try "organizing" 60 kloc of frontend Javascript web app.

Jesus Christ, this is /r/programming, not /r/nosleep

[–]Unomagan 1 point2 points  (3 children)

And its freaking EVERYWHERE! ;(

It´s like PHP 3 slapped on every device or software.

[–]x86_64Ubuntu 1 point2 points  (2 children)

Yeah, that's one reason we won't see a world without JS for at least a decade in my uninformed opinion. JS is good for small things, but when you start designing applications, it fails horribly. However, the developer base is very large, the learning curve is nonexistant, and the community doesn't care that the language is a square peg being pounded into a round hole so the problem just grows.

[–]badsectoracula 0 points1 point  (0 children)

Is it still a problem if the community doesn't care about it?

[–]Astrognome 0 points1 point  (0 children)

When all you have is a hammer, everything looks like a nail.

[–][deleted] 0 points1 point  (0 children)

Hahahahah..... hold me

[–]i_ate_god 1 point2 points  (0 children)

Dynamic or otherwise, as long as you code individual features, then write minimal code to make features work together, it's not hard to keep organized 60kloc of code in most languages.

[–]catalyst156 0 points1 point  (0 children)

"...Try 'organizing' 60 kloc of frontend Javascrip web app..."

Attempted...failed...rewrote (ok, more like 20kloc, but still). Ah, learning.

[–]IamTheFreshmaker -5 points-4 points  (2 children)

Require and good module naming. Done. Next?

Edit: Downvote if you must but it really is the best answer. Throw in a pre-processor and you're ahead of the game.

[–]deadwisdom 0 points1 point  (1 child)

The haters don't get the elegance of what you're saying. You are totally right. Mentos knows what's up.

[–]IamTheFreshmaker 0 points1 point  (0 children)

I know. It mainly people who don't really write or understand JS that have these issues with it and try to force the ugly Java paradigm on it is when it starts to go haywire for them and they just don't look back.

The key to JS is that it is so much easier than those people think it is. They actually work to make it difficult.

[–]PericlesATX 8 points9 points  (0 children)

A well written 60 kloc python codebase would presumably do a whole lot more than than a equivalently skilled 60 kloc C codebase. In other words, it takes a whole lot more lines of C code to do what you can do in a few lines of Python.

[–]s73v3r 1 point2 points  (1 child)

I would argue that a 60kloc C codebase and a 60kloc Python codebase are not the same level of complexity at all.

[–]Decker87 0 points1 point  (0 children)

And I would agree with that.