Click here to Skip to main content
15,887,474 members

The Weird and The Wonderful

   

The Weird and The Wonderful forum is a place to post Coding Horrors, Worst Practices, and the occasional flash of brilliance.

We all come across code that simply boggles the mind. Lazy kludges, embarrassing mistakes, horrid workarounds and developers just not quite getting it. And then somedays we come across - or write - the truly sublime.

Post your Best, your worst, and your most interesting. But please - no programming questions . This forum is purely for amusement and discussions on code snippets. All actual programming questions will be removed.

 
GeneralRe: Burn Baby, Burn! Pin
Richard Deeming20-Jul-18 5:38
mveRichard Deeming20-Jul-18 5:38 
GeneralRe: Burn Baby, Burn! Pin
MSBassSinger20-Jul-18 6:28
professionalMSBassSinger20-Jul-18 6:28 
GeneralRe: Burn Baby, Burn! Pin
Richard Deeming20-Jul-18 6:52
mveRichard Deeming20-Jul-18 6:52 
GeneralRe: Burn Baby, Burn! Pin
MSBassSinger20-Jul-18 7:01
professionalMSBassSinger20-Jul-18 7:01 
GeneralRe: Burn Baby, Burn! Pin
Robert/Not The Pirate20-Jul-18 8:41
professionalRobert/Not The Pirate20-Jul-18 8:41 
GeneralRe: Burn Baby, Burn! Pin
Slow Eddie20-Jul-18 14:31
professionalSlow Eddie20-Jul-18 14:31 
GeneralRe: Burn Baby, Burn! Pin
David A. Gray6-Oct-18 10:56
David A. Gray6-Oct-18 10:56 
GeneralRe: Burn Baby, Burn! Pin
André Pereira20-Jul-18 0:24
André Pereira20-Jul-18 0:24 
Quote:
3840 bytes of RAM
69120 byte ROM
85,000 CPU instructions executed per second.


Sound like basically a slow Arduino to me. We can do a lot on those, if you don't have to carry around file systems, threaded OSes, Grabage collectors or JIT compilers.


Quote:
The hardware has become so much better... but I somehow feel that something is wrong with the way we write software today.


The web happened. The suddenly, everything got slower, less responsive, more crashy and most of all, more hungry for RAM, CPU and drive.

Nobody makes native apps anymore, ever since google has convinced the world that native is irrelevant and web is the future. As a result the most professionally used chat app uses 1.5 GB of RAM because "native is bad, that's what they did in Windows time, lol".

You think I may exaggerating? Check out the next post.

Quote:
I blame the abundance of languages: there are literally too many languages going around, cutting into the learning part that is (or rather was) to shorten code, shorten the number of statements to execute, shorten the time of execution, etc.

IMHO there should only ever be 8 languages:

1. Assembly.
2. C/(maybe)C++ One that you can use to build apps.
3. One from either (Java/C#). This one may or may not be needed much.
4. One language to design webpages HTML/HTML5/CSS.
5. Front End scripting language (JavaScript/TypeScript)
6. Backend Language (PHP/Node.JS/Python).
7. Database Querying language SQL.
8. Maybe I'm missing something.


1. Humans very rarely use assembly today, only in special cases and only in embedded. It's just too prone to errors and is completely unreadable and unmaintainable code.
2. C for apps? You must be a kernel developer. Maybe C++ but it's far from ideal, even though I love it for embedded.
3. This is where you piss me off. You claim the best managed languages out there with literally millions of apps (all Android and UWP apps are in Java and C#, respectively), aren't needed.
4,5,6,7. Then you spout a bunch of random web jargon words and claim these are way more important than kernel or app languages.
8. Only Tiobe and managers consider SQL a programming language.

It's not the languages. It's people like you (I'm not trying to be disrespectful), who believe the world revolves around the browser instead of the people. People who don't value decades of work and frameworks, tools, optimizations, good engineering design...

Because it's not fashionable this week on slashdot, so our users will continue to download 10 MB of Javacript everytime they click a button on a page. But who cares about UX/UI, right, what matters is you didn't have to touch those yucky native tools, you're still in your wild-west browser framework.

/Rant cool down.
PraiseRe: Burn Baby, Burn! Pin
Gary Wheeler20-Jul-18 1:44
Gary Wheeler20-Jul-18 1:44 
GeneralRe: Burn Baby, Burn! Pin
jeron120-Jul-18 6:06
jeron120-Jul-18 6:06 
GeneralRe: Burn Baby, Burn! Pin
André Pereira20-Jul-18 6:53
André Pereira20-Jul-18 6:53 
GeneralRe: Burn Baby, Burn! Pin
jeron120-Jul-18 7:23
jeron120-Jul-18 7:23 
GeneralRe: Burn Baby, Burn! Pin
Abbas A. Ali20-Jul-18 6:39
professionalAbbas A. Ali20-Jul-18 6:39 
GeneralRe: Burn Baby, Burn! Pin
André Pereira20-Jul-18 7:18
André Pereira20-Jul-18 7:18 
GeneralRe: Burn Baby, Burn! Pin
Abbas A. Ali20-Jul-18 8:06
professionalAbbas A. Ali20-Jul-18 8:06 
GeneralRe: Burn Baby, Burn! Pin
André Pereira20-Jul-18 8:34
André Pereira20-Jul-18 8:34 
GeneralRe: Burn Baby, Burn! Pin
kalberts20-Jul-18 0:42
kalberts20-Jul-18 0:42 
GeneralRe: Burn Baby, Burn! Pin
André Pereira20-Jul-18 1:23
André Pereira20-Jul-18 1:23 
GeneralRe: Burn Baby, Burn! Pin
MSBassSinger20-Jul-18 5:41
professionalMSBassSinger20-Jul-18 5:41 
GeneralRe: Burn Baby, Burn! Pin
maze320-Jul-18 2:06
professionalmaze320-Jul-18 2:06 
GeneralRe: Burn Baby, Burn! Pin
Richard Deeming20-Jul-18 3:15
mveRichard Deeming20-Jul-18 3:15 
GeneralRe: Burn Baby, Burn! Pin
ttennebb20-Jul-18 3:30
professionalttennebb20-Jul-18 3:30 
GeneralRe: Burn Baby, Burn! Pin
Greg Lovekamp20-Jul-18 3:44
professionalGreg Lovekamp20-Jul-18 3:44 
GeneralRe: Burn Baby, Burn! Pin
Steven121820-Jul-18 6:17
professionalSteven121820-Jul-18 6:17 
GeneralRe: Burn Baby, Burn! Pin
kevinkin20-Jul-18 7:59
kevinkin20-Jul-18 7:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.